cakephp / api_generator

[Unmaintained] Official CakePHP API Generator Git Repository
113 stars 31 forks source link

api_index update errors when using table prefix #11

Open ghost opened 11 years ago

ghost commented 11 years ago

Created by Bernard Bondos, 28th Nov 2010. (originally Lighthouse ticket #33):


When running api_index update in a app that's using db table prefix, truncate errors shows up: PHP Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ion_api_classes``' at line 1 in /home/dire.pl/www/api.dire.pl/htdocs/ion/cake/libs/model/datasources/dbo_source.php on line 684

Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ion_api_classes``' at line 1 in /home/dire.pl/www/api.dire.pl/htdocs/ion/cake/libs/model/datasources/dbo_source.php on line 684

Query: TRUNCATE TABLE `ion_`ion_api_classes``

ghost commented 11 years ago

30th Nov 2010, fanrong33 (at 139) said:


333

ghost commented 11 years ago

5th Dec 2010, Mark Story said:


Please don't assign specific users.