aboutsummaryrefslogtreecommitdiffstats
path: root/include/dblayer/functions_mysqli.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-11feature 2999: (incomplete) doc of mysqli functionsmistic1001-85/+117
git-svn-id: http://piwigo.org/svn/trunk@27337 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-11arrayfromquery optimizations: move double if from inside loop to outside + ↵rvelices1-0/+70
use directly mysqli calls to avoid function call overhead for every row retrieved from db git-svn-id: http://piwigo.org/svn/trunk@27336 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05Update headers to 2014. Happy new year!!mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10move array_from_query to functions.inc.phpmistic1001-30/+0
git-svn-id: http://piwigo.org/svn/trunk@25427 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19remove all array_push (50% slower than []) + some changes missing for ↵mistic1001-11/+5
feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-09-05bug 2865: correct handle of sockets for mysqlimistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@24346 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-04-12merge r22183 from branch 2.5 to trunkplegall1-1/+1
typo fixed in code comment git-svn-id: http://piwigo.org/svn/trunk@22184 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-04-12merge r22181 from branch 2.5 to trunkplegall1-1/+22
bug 2865: mysqli can now handle socket and specific port number git-svn-id: http://piwigo.org/svn/trunk@22182 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-02feature:65 add pwg_db_errno and pwg_db_errormistic1001-0/+14
git-svn-id: http://piwigo.org/svn/trunk@21088 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-01feature:65 add fetch_array SQL functionsmistic1001-0/+5
git-svn-id: http://piwigo.org/svn/trunk@20510 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-30feature:65 Add support for PHP mysqli extension, activated by default, ↵mistic1001-34/+44
remove returns of link_identifier git-svn-id: http://piwigo.org/svn/trunk@20462 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall1-1/+1
expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13feature 2773: add pwg_db_close() methodmistic1001-0/+5
git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-09batch manager - remove unused code, less sql queries and avoid 4 calls to ↵rvelices1-5/+14
same display_select function git-svn-id: http://piwigo.org/svn/trunk@18573 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-01feature 2604: support rotation on derivativesplegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@13843 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-06multisize - added the coi (still to affine the admin ui + language)rvelices1-3/+3
multisize - derivatives can be revuild from a larger derviative instead of the original git-svn-id: http://piwigo.org/svn/trunk@13038 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1001-1/+1
apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16better get_boolean function: able to detect "0" as false, (bool)false as falseplegall1-8/+11
and (int)0 as false. git-svn-id: http://piwigo.org/svn/trunk@12752 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16merge r12747 from branch 2.3 to trunkplegall1-2/+8
bug 2534 fixed: clean (as clean as possible with MySQL+MyISAM) handle of concurrency on user cache refresh. No more error when regenerating several thumbnails at once. git-svn-id: http://piwigo.org/svn/trunk@12748 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-30merge r12009 from branch 2.2 to trunkplegall1-1/+1
bug 2416 fixed: the CAST function in MySQL seems to return unexpected results, depending on MySQL version. As a consequence it was producing virtual years in calendar display. git-svn-id: http://piwigo.org/svn/trunk@12010 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-24feature 2359: simpler function single_update and single_insertplegall1-18/+26
git-svn-id: http://piwigo.org/svn/trunk@11991 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-22feature:2359 add single_update and single_insert functionsmistic1001-2/+101
git-svn-id: http://piwigo.org/svn/trunk@11485 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14merge r11363 from branch 2.2 to trunkplegall1-1/+1
bug 2342 fixed: with MySQL 5.5, "set level = NULL" fails because images.level is a NOT NULL field. The same test is performed in the same function (mass_updates) but for array bigger than 10 rows. git-svn-id: http://piwigo.org/svn/trunk@11364 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-22- fix icon display on index page (calendar by post date)rvelices1-5/+3
- remove unnecessary include_once - mysql functions simplification git-svn-id: http://piwigo.org/svn/trunk@8844 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18Happy new year 2011plegall1-2/+2
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery" git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-06Bug 1766 fixed : [PostgreSQL] unkown database function UNIX_TIMESTAMP()nikrou1-0/+5
Add a new function pwg_db_date_to_ts() to calculate a timestamp from a date git-svn-id: http://piwigo.org/svn/trunk@6666 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-25Bug 1744 fixed : Incorrect use of timezone with SQLitenikrou1-1/+5
Fixed anti-flood system. Need refactoring between each interval functions git-svn-id: http://piwigo.org/svn/trunk@6604 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-22Bug 1738 fixed : hour function doesn't exists for database other than mysql.nikrou1-0/+5
git-svn-id: http://piwigo.org/svn/trunk@6578 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28feature 1630: upgrade to Piwigo 2.1 :-)plegall1-9/+17
bug 1604: only activate core themes not all themes. git-svn-id: http://piwigo.org/svn/trunk@5982 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10Bug 1567 fixed : problem with old version of mysqlnikrou1-0/+1
required version is now 5.0.0 move required version to functions database specific file like others engines git-svn-id: http://piwigo.org/svn/trunk@5782 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21Feature 1255 :nikrou1-9/+14
only one function use exceptions to deal with differents possible errors git-svn-id: http://piwigo.org/svn/trunk@5236 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-21feature 1255: add pwg_select_db function.patdenice1-3/+7
git-svn-id: http://piwigo.org/svn/trunk@5230 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19increase copyright year to 2010plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19Fix some sql issues :nikrou1-2/+2
- permalink that use if() syntax - add tables themes for other database engines that mysql git-svn-id: http://piwigo.org/svn/trunk@5192 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-03Feature 1451 : fix mispelling and missing translationsnikrou1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@5036 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-28Feature 1255 : bug in install with mysql and postgresql if some form ↵nikrou1-2/+2
parameters are missing. git-svn-id: http://piwigo.org/svn/trunk@5006 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-21Feature 1255 : missing quotes in concat function for mysqlnikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@4929 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-15Feature 1255 :nikrou1-1/+1
update pwg_db_insert_id() function. PosgreSQL needs table name to retrieve last insert auto increment id. git-svn-id: http://piwigo.org/svn/trunk@4892 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-03Feature 511 : fix problems with calendar functionsnikrou1-0/+6
add pwg_db_concat() function git-svn-id: http://piwigo.org/svn/trunk@4833 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-28Feature 511 : add support for sqlite database enginenikrou1-2/+3
Using session_write_close function when session handler use database because write is called after object destruction. git-svn-id: http://piwigo.org/svn/trunk@4781 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-29Feature_1255:nikrou1-13/+4
- bug fix : function pwg_db_get_recent_period_expression - add extra fields for select based on "order by" git-svn-id: http://piwigo.org/svn/trunk@4387 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-29Feature_1255 :nikrou1-0/+73
- single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-25Feature 1255: modification in sql queriesnikrou1-0/+95
- manage random function - manage regex syntax - manage quote (single instead of double) - manage interval git-svn-id: http://piwigo.org/svn/trunk@4367 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-21Feature 1241 : revert pwg_db_fetch_row because we use $row[0]nikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@4335 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-21Feature 1244 : misspelled functions pwg_db_free_result() (db missing)nikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@4332 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-20Feature 1244 : bug fixnikrou1-1/+0
functions_mysql.inc.php must be loaded for install git-svn-id: http://piwigo.org/svn/trunk@4326 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-20Feature 1244 resolvednikrou1-0/+463
Replace all mysql functions in core code by ones independant of database engine Fix small php code synxtax : hash must be accessed with [ ] and not { }. git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee