Commit Graph

47 Commits

Author SHA1 Message Date
gRoussac
a7869a1f06 [*] CORE : Remove duplicate SQL queries 2013-11-11 13:41:23 +01:00
gRoussac
508cc0bd1a [-) CORE : Remove undefined constant in class declaration 2013-07-01 19:17:54 +02:00
Damien Metzger
19ee2c953f [*] IN : removed the possibility to choose his own storage engine, automatically select the best one 2013-06-26 14:26:37 +02:00
Rémi Gaillard
5490f6063d [-] Installer: check create table privileges 2013-02-01 18:36:35 +01:00
Rémi Gaillard
ca90f634c3 // Too many bugs on PDO with PHP < 5.2 2013-01-28 14:23:15 +01:00
Gregory Roussac
efd02c7a7f [-] CORE : Missing displayError for alias q 2013-01-25 00:55:04 +01:00
François Gaillard
064ba453e6 // Welcome 2013 2013-01-04 11:19:03 +01:00
vAugagneur
a1db83ef41 //remove svn keyword @version Release: $ 2012-11-22 11:57:40 +01:00
lLefevre
779cf350af // Revert Revision 17884 : #PSCFV-5017 : update bad licenses in all files 2012-10-17 09:29:43 +00:00
lLefevre
046b51ab99 // #PSCFV-5017 : update bad licenses in all files 2012-10-17 06:18:59 +00:00
aKorczak
8bead1af23 [-] WS : Multiple fix on Web Services 2012-08-31 09:41:22 +00:00
dMetzger
ed7f3cf49c [-] Installer : fixed errors at the installation with insertion of null values in the database #PSCFV-3544 2012-08-08 09:23:31 +00:00
dMetzger
b7b410f512 [*] Installer : added timout to sql connection 2012-08-07 12:32:40 +00:00
rMalie
c90e61ee34 // Fix default id lang in localization packs 2012-06-20 08:36:51 +00:00
rMalie
bbc9ea243a // Add DESC keyword to executeS() filter #PSFV-791 2012-04-18 07:52:40 +00:00
rMalie
14e6929565 // Welcome 2012² 2012-02-23 16:33:10 +00:00
rMalie
eb97902fdd [*] Classes : table prefix is no longer required in Db::getInstance()->delete() method 2012-02-16 14:54:52 +00:00
mDeflotte
2ea5762d5f // Allow query from Db::excuteS, to start by an open parenthese 2012-02-10 08:20:06 +00:00
rMalie
6cdf84ded6 // Fix Db->query (property value is set) 2012-01-27 13:39:35 +00:00
rMalie
323bd0e4db // Normalize 2012-01-24 16:24:01 +00:00
rMalie
29642023b9 // Add argument in Db->insert() and Db->update() to skip prefix 2012-01-24 08:51:23 +00:00
rMalie
587a927e76 [*] Classes : Db::autoExecute() call are now replaced by Db::insert() or Db::update() 2012-01-23 17:41:02 +00:00
mMarinetti
4c525f7f6f [-] core : minor fix in Db->escape function to make it compatible to the phpdoc (2nd parameter html_ok is now optional) 2012-01-16 10:43:50 +00:00
rMalie
6c71b52b6b // Check if at least one table with same prefix already exists in new installer 2012-01-05 14:28:10 +00:00
rMalie
4b17d64cf7 // Fix PrestaShopException typo 2012-01-04 13:53:19 +00:00
rMalie
319bc8aab7 // Fix access table for old mysql configurations 2011-12-23 00:05:39 +00:00
mMarinetti
2f275c3e90 // removed useless Tools::displayError() 2011-12-21 19:58:01 +00:00
rMalie
7e611c914a // Norm + improve ObjectModel 2011-12-16 14:55:05 +00:00
rMalie
58765cb22d // Fix DbQuery for PHP < 5.2 2011-12-08 16:32:59 +00:00
rMalie
ad45eeca37 [*] Classes: Db->execute() now return always a boolean. Use Db->query() instead. 2011-12-06 15:41:34 +00:00
rMalie
fd5de4eda2 // Db::autoExecute() return a boolean 2011-12-05 17:29:45 +00:00
rMalie
8d8d56c4d9 // Test PDO as first choice in Db class 2011-12-05 17:01:48 +00:00
lLefevre
d730dd5dbe // added list of tables and attributes in AdminRequestSqlController + change export request 2011-11-30 13:24:43 +00:00
mMarinetti
6e9f76afb4 // check if PS_MODE_DEV is defined before checking its value 2011-11-22 14:32:58 +00:00
rMalie
dae1e70e5f [*] Classes: CMS::getCMSPages() now select only data from cms table if id_lang is null
[*] Classes: Db::autoExecute() can now take INSERT IGNORE as third argument
[*] Classes: Tag::addTags() can now take an array of tags as argument (instead of strings separated by comas)
2011-11-10 13:45:41 +00:00
rMalie
560be7bffe // Fix Db::executeS() now trigger Db::execute() method if the query begin with select|show|explain keyword 2011-11-10 09:59:39 +00:00
rMalie
1da53de84b // little fix 2011-10-19 14:58:33 +00:00
rMalie
41140ad21d [+] Classes: Db::autoExecute() can now use SQL functions as values (use array('type' => 'sql', 'value' => 'SQL_FCT()') 2011-10-19 14:35:05 +00:00
rMalie
cf4db864d3 [+] Classes: add PDO support if extension is activated
[*] Classes: add engine check (innodb)
2011-10-13 15:00:08 +00:00
rMalie
172efaabd7 [-] MO: fix blocktopmenu install 2011-10-11 11:28:31 +00:00
rMalie
3574f0a923 // Add exceptions in db classes + normalize some files + split defines.inc file 2011-10-11 10:04:23 +00:00
rMalie
9c17d2a9e7 [*] Classes: refactoring of cache classes 2011-10-10 14:45:27 +00:00
rMalie
9510337b1d // Remove bad _SQL_USE_SLAVE_ uses + normalize Db->executeS(), Db->execute() and Db->numRows() names 2011-10-10 12:18:56 +00:00
mDeflotte
59dfcb3609 [*] All : Now autoExecute allow inserting multiple row 2011-10-07 12:55:34 +00:00
rMalie
91083e190c // Merge -> revision 8800 2011-09-27 14:30:06 +00:00
rMalie
8c8eb83239 // Fix install with Db 2011-09-21 07:46:12 +00:00
rMalie
ae8fe141a5 [+] Classes: add DbQuery class in order to build queries (usefull when working with chunks of queries) 2011-09-20 16:14:19 +00:00