Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2006
    Posts
    64
    Plugin Contributions
    0

    help question removing a contribution - does the SQL statement need to go?

    i just removed a contribution that wasn't doing it for me.

    i (obviously) took out all the files i put in .

    my question is do i now need to get rid of the SQL statement that i uploaded somehow?

    or does it not matter that a few lines that live in the database and are never used?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: removing a contribution - does the SQL statement need to go?

    It may be harmless to leave the database settings in place.
    But cleanup is always smart - if you know what you're doing when you're in there.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2006
    Posts
    64
    Plugin Contributions
    0

    Default Re: removing a contribution - does the SQL statement need to go?

    thank you.

    i assume i just go in and remove the table it created in PHPmyadmin:

    [FONT=Courier New]CREATE TABLE foo_bar

    [/FONT]
    [FONT=Courier New][FONT=Verdana]and the few IDs under the table?[/FONT][/FONT]

  4. #4
    Join Date
    Oct 2006
    Posts
    64
    Plugin Contributions
    0

    Default Re: removing a contribution - does the SQL statement need to go?

    i meant as defined by CREATE TABLE foo_bar

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: removing a contribution - does the SQL statement need to go?

    which contribution?
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Oct 2006
    Posts
    64
    Plugin Contributions
    0

    Default Re: removing a contribution - does the SQL statement need to go?

    [FONT=Courier New]## Cross Sell v1.3.0


    #DROP TABLE IF EXISTS products_xsell;
    CREATE TABLE products_xsell (
    ID int(10) NOT NULL auto_increment,
    products_id int(10) unsigned NOT NULL default 1,
    xsell_id int(10) unsigned NOT NULL default 1,
    sort_order int(10) unsigned NOT NULL default 1,
    PRIMARY KEY (ID),
    KEY idx_products_id_xsell (products_id)
    ) TYPE=MyISAM;

    [/FONT]

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: removing a contribution - does the SQL statement need to go?

    if that's all it did, then yes, you could just drop the table.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Oct 2006
    Posts
    64
    Plugin Contributions
    0

    Default Re: removing a contribution - does the SQL statement need to go?

    thank you

 

 

Similar Threads

  1. Help - Remove sql statement
    By CharInLasVegas in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 28 Nov 2009, 10:39 PM
  2. Want to see the SQL statement of the DB upgrade script.
    By artcoder in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 30 Dec 2007, 10:04 PM
  3. Replies: 2
    Last Post: 1 Jul 2007, 05:23 AM
  4. Too many SQL queries of the same contribution
    By bigjoed in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 26 Apr 2007, 05:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg