![]() |
Creating/Dropping triggers using Active Record - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: Creating/Dropping triggers using Active Record (/showthread.php?tid=62324) |
Creating/Dropping triggers using Active Record - jLinux - 07-02-2015 Hey guys, I have a script setup to modify a table name in a Database, and then to delete the associated triggers for it, and create new ones using the new table name. When I execute the commands manually, it works fine, but when I execute this CI code.. PHP Code: $current_table = 'Example_Table'; I get the following error: Code: Error Number: 1235 Then, when I go to delete the trigger manually via MySQL, I get a very odd error: Any ideas? Ive never seen an error like this.. Thanks! |