Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add limited offset support to mysql_fetch_field() | Davey Shafik | 2020-10-27 | 1 | -3/+26 |
| | | | | `mysqli` seems to reuse the result objects and doesn't support this feature directly, making this feature very brittle. It should be avoided. | ||||
* | Add missing warning from mysql_fetch_field() | Davey Shafik | 2020-10-27 | 1 | -0/+4 |
| | |||||
* | s/char/string | Davey Shafik | 2020-10-27 | 1 | -1/+1 |
| | |||||
* | s/varchar/string | Davey Shafik | 2020-10-27 | 1 | -1/+1 |
| | |||||
* | mysql_fetch_field() returns a string for type | Davey Shafik | 2020-10-27 | 1 | -0/+82 |
| | |||||
* | Fix grammar on comment | Fernando da Silva Sousa | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | Fix possibility of empty backtrace caused by traces without file and line | Fernando da Silva Sousa | 2020-10-23 | 1 | -4/+14 |
| | |||||
* | Adds backtrace for illegal arguments supplied | Fernando da Silva Sousa | 2020-10-22 | 1 | -2/+10 |
| | |||||
* | Allow socket connections | Davey Shafik | 2020-08-11 | 1 | -1/+8 |
| | |||||
* | Don't try to assign fields if the fetch failed | Davey Shafik | 2020-08-11 | 1 | -8/+10 |
| | |||||
* | Fix mysqli_fetch_field consistency | Beno!t POLASZEK | 2020-08-11 | 1 | -1/+10 |
| | |||||
* | $new is **NOT** supported by mysqli, reverting #45 | Davey Shafik | 2020-08-11 | 1 | -1/+5 |
| | |||||
* | Avoid deprecated array access syntax (#47) | Michele Locati | 2019-12-03 | 1 | -2/+2 |
| | |||||
* | Handle custom ports defined in the hostname (#44) | Mike Gilfillan | 2019-08-06 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | | | * Handle custom ports defined in the hostname * Improve detection of custom ports when connecting Perstitent connections are defined by prepending the hostname with "p:". This would have been detected as the start of a custom port and broken the connection. A better solution is to detect the port at the end of host name using regex. * Never detect a prefix of "p:" as a hostname This improves edge cases when using a persistent connection with a numeric hostname. For example: "p:253" | ||||
* | Use the parameter in a way compatible with the parameter in mysql_connect ↵ | Jonathan Hawkes | 2019-07-24 | 1 | -4/+2 |
| | | | | (#45) | ||||
* | Run phpcbf (#35) | Webysther Nunes | 2017-09-29 | 1 | -3/+3 |
| | |||||
* | Fix call to `mysqli_ping` (#28) | Edward Savage | 2017-03-27 | 1 | -1/+1 |
| | | | All of the other `mysqli_` functions with the `$link` as an argument used `\Dshafik\MySQL::getConnection($link)`. The call to `mysqli_ping` did not. | ||||
* | Remove deprecation notice1.0.0beta2 | Davey Shafik | 2017-01-12 | 1 | -6/+0 |
| | |||||
* | Add a single deprecation notice on load | Davey Shafik | 2017-01-10 | 1 | -0/+6 |
| | |||||
* | Fix CS | Davey Shafik | 2017-01-10 | 1 | -5/+5 |
| | |||||
* | Check ext/mysqli is available (for non-composer installs) | Davey Shafik | 2017-01-10 | 1 | -7/+11 |
| | |||||
* | Refactor \Dshafik\MySQL::mysqlFieldInfo() to simplify | Davey Shafik | 2017-01-10 | 1 | -10/+6 |
| | |||||
* | Add warning to the class comment | Davey Shafik | 2017-01-08 | 1 | -2/+8 |
| | |||||
* | Use extension_loaded | Davey Shafik | 2017-01-08 | 1 | -1/+1 |
| | |||||
* | Code cleanup | Davey Shafik | 2017-01-08 | 1 | -60/+61 |
| | |||||
* | Add third argument to `mysql_db_name()` | Davey Shafik | 2017-01-08 | 1 | -5/+5 |
| | | | | Fixes #23 | ||||
* | Add/update file header comments | Davey Shafik | 2017-01-08 | 1 | -0/+13 |
| | |||||
* | Replaced array operator with explicit array() to lower required PHP version. ↵ | philip | 2017-01-08 | 1 | -9/+9 |
| | | | | Should be 5.4 or 5.3 now, we'll see | ||||
* | Replaced variadics/splat references to lower the required PHP version; splat ↵ | philip | 2017-01-08 | 1 | -28/+28 |
| | | | | was added in PHP 5.6 | ||||
* | Added the result type to the mysql_fetch_array function (#16) | Swen van Zanten | 2016-10-03 | 1 | -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 comments | Davey Shafik | 2016-10-03 | 1 | -0/+3 |
| | |||||
* | mysql_connect should return FALSE when mysqli_connect fails. (#15) | Михаил Красильников | 2016-10-03 | 1 | -2/+6 |
| | |||||
* | Fix issues found by <insight.sensiolabs.com> | Davey Shafik | 2016-07-04 | 1 | -2/+2 |
| | |||||
* | Support database names with hyphens | Stefan Schramm | 2016-07-03 | 1 | -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 null | Gregor Harlan | 2016-04-18 | 1 | -1/+1 |
| | |||||
* | Reset field pointer before iterating | Davey Shafik | 2016-03-10 | 1 | -0/+1 |
| | | | | Fixes #7 | ||||
* | Refactor `Dshafik\MySQL::escapeString()` | Davey Shafik | 2016-02-05 | 1 | -26/+30 |
| | |||||
* | Simplify `\Dshafik\MySQL::getFieldType()` | Davey Shafik | 2016-02-05 | 1 | -43/+36 |
| | |||||
* | Simplify `\Dshafik\MySQL::getFieldFlags()` | Davey Shafik | 2016-02-05 | 1 | -50/+21 |
| | |||||
* | add unit test for mysqli defaults | Gordon Franke | 2016-02-03 | 1 | -6/+6 |
| | |||||
* | added default values from php.ini file if none provided | D060938 | 2016-02-03 | 1 | -0/+9 |
| | |||||
* | Fix escaping not copying non-escapeable chars to the escaped string | Davey Shafik | 2016-02-02 | 1 | -6/+10 |
| | |||||
* | Add/Fix all constants | Davey Shafik | 2016-02-02 | 1 | -4/+7 |
| | |||||
* | Fix return values for `mysql_fetch_*` functions | Davey Shafik | 2016-02-02 | 1 | -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 cleanup | Gordon Franke | 2016-02-02 | 1 | -1/+0 |
| | |||||
* | Update mysql.php | Muhammed Ali Alat | 2016-01-26 | 1 | -2/+9 |
| | |||||
* | Handle weirdness with `mysql_table_name()`, especially on HHVM | Davey Shafik | 2015-12-07 | 1 | -3/+3 |
| | |||||
* | More tests, more fixes | Davey Shafik | 2015-12-07 | 1 | -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 fixes | Davey Shafik | 2015-12-06 | 1 | -126/+143 |
| | |||||
* | Fix args for aliases | Davey Shafik | 2015-12-06 | 1 | -37/+22 |
| | |||||
* | Update README | Davey Shafik | 2015-12-06 | 1 | -16/+19 |
| | |||||
* | Upto 20% functions/59% lines coverage, more issues revealed | Davey Shafik | 2015-12-06 | 1 | -41/+278 |
| | |||||
* | Add more tests, and fixed many issues revealed by them | Davey Shafik | 2015-12-05 | 1 | -11/+63 |
| | |||||
* | Initial commit of ext/mysql shim for PHP 7 | Davey Shafik | 2015-12-04 | 1 | -0/+416 |