2
0
forked from Wavyzz/dolibarr
Commit Graph

68 Commits

Author SHA1 Message Date
Laurent Destailleur
c8a8474b69 Better practice in boolean comparison 2016-05-17 23:19:57 +02:00
Laurent Destailleur
753c5c7fc4 Fix minor error management 2016-05-17 23:14:30 +02:00
Raphaël Doursenaud
3b9388e57f Added typehinting to resultsets in database drivers 2015-05-12 19:51:41 +02:00
Raphaël Doursenaud
6558c0f1f2 Removed a bunch of unused variables 2015-05-12 19:47:15 +02:00
Raphaël Doursenaud
053f6ae494 [Qual] Fixed missing return statements 2015-05-12 19:10:47 +02:00
Raphaël Doursenaud
27d52cf2b0 Better type hinting for DoliDB 2015-05-12 19:01:01 +02:00
Raphaël Doursenaud
7231ca890a Better type hinting for the MSSQL database driver 2015-05-12 18:13:24 +02:00
Laurent Destailleur
1660c1c05b Fix bug introduced with var_dump 2015-03-06 01:30:46 +01:00
KreizIT
7d51ae6789 Fix typo 2015-02-14 16:33:05 +01:00
KreizIT
0c0c442248 Make MS SQL working 2015-02-14 16:27:00 +01:00
Laurent Destailleur
5f353c39d1 Fix: PHPCS 2014-12-05 20:18:30 +01:00
Laurent Destailleur
7bd27a13fa Fix: missing host and port into object 2014-10-26 19:41:06 +01:00
Laurent Destailleur
5c5f725a34 Fix scrutinizer 2014-10-05 01:22:17 +02:00
Laurent Destailleur
8eac8c0c84 Avoid duplicate logs 2014-08-15 19:29:19 +02:00
Laurent Destailleur
852b78f79f Removed 2 other call to getStaticMember (pb with php 5.5).Fix PHPCS for
constants into database driver classes.
2014-08-01 00:53:29 +02:00
Laurent Destailleur
9fff30416a Qual: Remove usage of getStaticMember function dir constants. 2014-07-31 20:12:21 +02:00
Laurent Destailleur
9e91baca36 Fix: Log must be done before query. 2014-07-27 23:23:29 +02:00
Marcos García de La Fuente
74ee3e9823 Improved SQL error logging 2014-06-13 01:52:57 +02:00
Marcos García de La Fuente
2e2cecb6c7 Undefined constant 2014-06-13 01:48:11 +02:00
Marcos García de La Fuente
ca0a6cb307 Removed SQL string from call debug log 2014-06-13 01:34:39 +02:00
Marcos García de La Fuente
d1d4c6d8a5 Increased SQL Error to LOG_ERROR level 2014-06-12 11:45:32 +02:00
Marcos García de La Fuente
ae4bd4445e Moved dol_syslog query log to the database handler and decreased report level to DEBUG 2014-06-09 15:49:54 +02:00
Raphaël Doursenaud
f8f502d013 Removed closing php tag
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-05-03 18:18:44 +02:00
Raphaël Doursenaud
98120862f7 Qual: Moved duplicate method to base method 2014-04-23 12:15:18 +02:00
Raphaël Doursenaud
a23f6d6a85 Database: factorized lastqueryerror() 2014-03-15 08:41:46 +01:00
Raphaël Doursenaud
7df97b7cfb Database: factorized lasterror() 2014-03-15 08:41:46 +01:00
Raphaël Doursenaud
f894df1d9e Database: factorized lastquerry() 2014-03-15 08:41:46 +01:00
Raphaël Doursenaud
e4e78bdd3e Database: factorized getLabel() 2014-03-15 08:41:43 +01:00
Raphaël Doursenaud
3f6b175879 Database: factorized getVersionArray() 2014-03-15 06:40:13 +01:00
Raphaël Doursenaud
73d957f158 Database: factorized common properties 2014-03-15 06:38:52 +01:00
Raphaël Doursenaud
739a566156 Database: factorized lasterrno() 2014-03-15 06:07:46 +01:00
Raphaël Doursenaud
64fbefdb7c Database: factorized ifsql() 2014-03-15 05:55:02 +01:00
Raphaël Doursenaud
eb86abff94 Database: factorized jdate() 2014-03-15 05:54:51 +01:00
Laurent Destailleur
774017672f Fix: Number of day calculation. Add PHPUnit case. 2014-03-05 20:52:27 +01:00
Laurent Destailleur
a797a5e665 Clean comment and make some implementations 2014-02-24 09:52:48 +01:00
Raphaël Doursenaud
0a74467296 Added FIXMEs and TODOs on all dummy methods in database drivers 2014-02-21 14:57:19 +01:00
Raphaël Doursenaud
501ffb12b3 Added dummy methods according to interface for Microsoft SQL and PostgreSQL
Please implement if you have the required knowledge
2014-02-21 14:52:21 +01:00
Raphaël Doursenaud
283fec164e Implemented rollback according to interface for Microsoft SQL and PostgreSQL 2014-02-21 14:40:10 +01:00
Laurent Destailleur
80046a5310 Qual: Mutualize code 2014-02-06 20:40:01 +01:00
Raphaël Doursenaud
5426db63ff Added an abstract DolibDB class 2013-09-10 12:29:55 +02:00
Laurent Destailleur
a50cd7b698 Fix bug into script that fix CRLF into LF 2013-06-12 11:59:55 +02:00
Laurent Destailleur
c3f5e0c6ee New: Show version of client lib used by mysql drivers 2013-06-07 19:19:11 +02:00
Laurent Destailleur
de6d40237d Fix: No syntax error when when want no limit 2013-03-05 13:28:31 +01:00
Laurent Destailleur
2dc4b91521 New: Function plimit of databases drivers accept -1 as value (it means
default value set into conf->liste_limit).
2013-02-25 12:51:38 +01:00
eldy
3d80a6ebfc Fix: Enhance pgsql driver 2013-02-21 21:04:20 +01:00
Laurent Destailleur
8d206fdfb0 Prepare move to other licence. For the moment all answers for licence
upgrade were not yet received. So we prepare for GPL by uniformizing
licence text keys to GPL-3+. Will move later to AGPL if all answers are
positive.
2013-01-16 15:36:08 +01:00
Regis Houssin
b838895db9 Fix: change for a neutral email 2012-12-30 15:13:49 +01:00
Regis Houssin
2240dd4ac6 Fix: missing tinyint 2012-11-11 15:12:42 +01:00
Marcos García
5a73c32f46 Migrated ClassName to __construct() function
Changed $DB to $db
lower-cased "Class"
2012-07-30 17:17:33 +02:00
Laurent Destailleur
acef702c27 Fix: pgsql compatibility not complete.
New: Move convert sql functions as static.
New: Add phpunit tests for database drivers.
2012-05-13 14:30:11 +02:00