summaryrefslogtreecommitdiffstats
path: root/lib/mysql.php
Commit message (Collapse)AuthorAgeFilesLines
* Add warning to the class commentDavey Shafik2017-01-081-2/+8
|
* Use extension_loadedDavey Shafik2017-01-081-1/+1
|
* Code cleanupDavey Shafik2017-01-081-60/+61
|
* Add third argument to `mysql_db_name()`Davey Shafik2017-01-081-5/+5
| | | | Fixes #23
* Add/update file header commentsDavey Shafik2017-01-081-0/+13
|
* Replaced array operator with explicit array() to lower required PHP version. ↵philip2017-01-081-9/+9
| | | | Should be 5.4 or 5.3 now, we'll see
* Replaced variadics/splat references to lower the required PHP version; splat ↵philip2017-01-081-28/+28
| | | | was added in PHP 5.6
* Added the result type to the mysql_fetch_array function (#16)Swen van Zanten2016-10-031-2/+2
| | | | | | * Added the result type to the mysql_fetch_array function * Changed the 'resultType' variable to camelCase, added extra tests * Fixed the mysql_fetch tests
* Add commentsDavey Shafik2016-10-031-0/+3
|
* mysql_connect should return FALSE when mysqli_connect fails. (#15)Михаил Красильников2016-10-031-2/+6
|
* Fix issues found by <insight.sensiolabs.com>Davey Shafik2016-07-041-2/+2
|
* Support database names with hyphensStefan Schramm2016-07-031-7/+13
| | | | | * Support database names with hyphens * Fix mysql_list_tables and mysql_list_fields
* use array_key_exists() instead of isset() because value can be nullGregor Harlan2016-04-181-1/+1
|
* Reset field pointer before iteratingDavey Shafik2016-03-101-0/+1
| | | | Fixes #7
* Refactor `Dshafik\MySQL::escapeString()`Davey Shafik2016-02-051-26/+30
|
* Simplify `\Dshafik\MySQL::getFieldType()`Davey Shafik2016-02-051-43/+36
|
* Simplify `\Dshafik\MySQL::getFieldFlags()`Davey Shafik2016-02-051-50/+21
|
* add unit test for mysqli defaultsGordon Franke2016-02-031-6/+6
|
* added default values from php.ini file if none providedD0609382016-02-031-0/+9
|
* Fix escaping not copying non-escapeable chars to the escaped stringDavey Shafik2016-02-021-6/+10
|
* Add/Fix all constantsDavey Shafik2016-02-021-4/+7
|
* Fix return values for `mysql_fetch_*` functionsDavey Shafik2016-02-021-8/+5
| | | | | | The methods `mysql_fetch_* and `mysqli_fetch_*` have different return values, if there is no [more] results to fetch. Therefore the **null** return value of `mysqli` needs to be matched to the **false** return value of `mysql`. Thanks to @muhammedalialat
* code cleanupGordon Franke2016-02-021-1/+0
|
* Update mysql.phpMuhammed Ali Alat2016-01-261-2/+9
|
* Handle weirdness with `mysql_table_name()`, especially on HHVMDavey Shafik2015-12-071-3/+3
|
* More tests, more fixesDavey Shafik2015-12-071-12/+115
| | | | - Reimplement original `mysql_escape_string()` based on C-code as close as possible - For some reason `mysql_fetch_object()` has a different error than all the other `mysql_fetch_*()` functions when passed an invalid result. ಠ_ಠ
* Add more tests and fixesDavey Shafik2015-12-061-126/+143
|
* Fix args for aliasesDavey Shafik2015-12-061-37/+22
|
* Update READMEDavey Shafik2015-12-061-16/+19
|
* Upto 20% functions/59% lines coverage, more issues revealedDavey Shafik2015-12-061-41/+278
|
* Add more tests, and fixed many issues revealed by themDavey Shafik2015-12-051-11/+63
|
* Initial commit of ext/mysql shim for PHP 7Davey Shafik2015-12-041-0/+416