Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of https://github.com/bridgebase/php7-mysql-shim into ↵origin/pr/bpolaszek/49 | Davey Shafik | 2020-08-11 | 0 | -0/+0 |
|\ | | | | | | | pr/bpolaszek/49 | ||||
| * | Fix mysqli_fetch_field consistency | Beno!t POLASZEK | 2020-01-13 | 1 | -1/+10 |
| | | |||||
* | | Add tests for mysql_fetch_field() | Davey Shafik | 2020-08-11 | 1 | -21/+141 |
| | | |||||
* | | 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 |
| | | |||||
* | | Merge branch 'master' of https://github.com/dshafik/php7-mysql-shim | Davey Shafik | 2020-08-11 | 10 | -1034/+2330 |
|\ \ | |||||
| * \ | Merge pull request #52 from dshafik/fixup-tests | Davey Shafik | 2020-08-11 | 10 | -1034/+2330 |
| |\ \ | | | | | | | | | Add Codespaces support & Fixup Tests | ||||
| | * | | Fixup phpunit configorigin/fixup-tests | Davey Shafik | 2020-08-11 | 1 | -22/+20 |
| | | | | |||||
| | * | | Remove appveyor | Davey Shafik | 2020-08-11 | 2 | -76/+0 |
| | | | | |||||
| | * | | Try to fixup TravisCI config | Davey Shafik | 2020-08-11 | 3 | -4/+2 |
| | | | | |||||
| | * | | Update TravisCI config to only test on 7.1+ | Davey Shafik | 2020-08-11 | 1 | -23/+8 |
| | | | | |||||
| | * | | $new is **NOT** supported by mysqli, reverting #45 | Davey Shafik | 2020-08-11 | 1 | -1/+5 |
| | | | | |||||
| | * | | Update to PHPUnit 8.x | Davey Shafik | 2020-08-11 | 4 | -860/+2311 |
| | | | | |||||
| | * | | Add MYSQL_HOST env var | Davey Shafik | 2020-08-11 | 1 | -11/+14 |
| | | | | |||||
| | * | | Try to fix tests | Davey Shafik | 2020-08-11 | 2 | -83/+16 |
| |/ / | |||||
* | | | Remove SensioLabs Insight | Davey Shafik | 2020-08-11 | 1 | -1/+0 |
|/ / | |||||
* | | Allow empty MySQL password | Davey Shafik | 2020-08-11 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' of https://github.com/dshafik/php7-mysql-shim | Davey Shafik | 2020-08-11 | 1 | -1/+1 |
|\ \ | |||||
| * | | Use links instead of depends_on | Davey Shafik | 2020-08-11 | 1 | -1/+1 |
| | | | |||||
* | | | Add extensions | Davey Shafik | 2020-08-11 | 1 | -1/+5 |
|/ / | |||||
* | | Copy in the composer install script | Davey Shafik | 2020-08-11 | 1 | -1/+2 |
| | | |||||
* | | Add git auto-complete to bash | Davey Shafik | 2020-08-11 | 1 | -0/+3 |
| | | |||||
* | | Update to include ext/mysqli and composer | Davey Shafik | 2020-08-11 | 3 | -0/+26 |
| | | |||||
* | | Some minor updates to tests to enable it to work inside CodeSpaces | Davey Shafik | 2020-08-11 | 2 | -16/+28 |
| | | |||||
* | | Add CodeSpaces .devcontainer config | Davey Shafik | 2020-08-11 | 3 | -0/+96 |
| | | |||||
* | | Merge pull request #51 from staabm/patch-1 | Davey Shafik | 2020-05-04 | 1 | -1/+1 |
|\ \ | |/ |/| | Fixed dead url in readme | ||||
| * | Fixed dead url in readme | Markus Staab | 2020-05-04 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #48 from staabm/patch-11.0.0beta3 | Davey Shafik | 2020-01-02 | 1 | -1/+5 |
|\ | | | | | Added note about alternative approaches | ||||
| * | Update README.md | Markus Staab | 2019-12-24 | 1 | -1/+1 |
| | | |||||
| * | Added note about alternative approaches | Markus Staab | 2019-12-24 | 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) | ||||
* | Update dependencies | Davey Shafik | 2018-01-18 | 2 | -753/+824 |
| | |||||
* | Update Travis config to re-enable PHP 5.3 | Davey Shafik | 2018-01-18 | 1 | -9/+13 |
| | |||||
* | 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 |
| | |||||
* | Remove dev builds, add allowed failures to AppVeyor | Davey Shafik | 2017-01-10 | 2 | -54/+29 |
| | |||||
* | Add a single deprecation notice on load | Davey Shafik | 2017-01-10 | 1 | -0/+6 |
| | |||||
* | Fix tests on Windows | Davey Shafik | 2017-01-10 | 1 | -6/+6 |
| | |||||
* | Clarify install/usage docs | Davey Shafik | 2017-01-10 | 1 | -2/+4 |
| | |||||
* | Fix CS | Davey Shafik | 2017-01-10 | 2 | -13/+16 |
| | |||||
* | Add composer scripts, test and fix-cs | Davey Shafik | 2017-01-10 | 2 | -24/+8 |
| | |||||
* | Check ext/mysqli is available (for non-composer installs) | Davey Shafik | 2017-01-10 | 1 | -7/+11 |
| | |||||
* | Add initial support for AppVeyor | Davey Shafik | 2017-01-10 | 3 | -13/+91 |
| | |||||
* | Fix typo, remove outdated caveat | Davey Shafik | 2017-01-10 | 1 | -2/+1 |
| | |||||
* | Test for UTF-8 support | Davey Shafik | 2017-01-10 | 1 | -7/+93 |
| | |||||
* | Refactor \Dshafik\MySQL::mysqlFieldInfo() to simplify | Davey Shafik | 2017-01-10 | 1 | -10/+6 |
| | |||||
* | Expand Travis config to account for many different configsorigin/travis-matrix | Davey Shafik | 2017-01-10 | 1 | -1/+76 |
| | |||||
* | Update to state it will work from 5.3.6+1.0.0beta1 | Davey Shafik | 2017-01-08 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Use composer update instead of install | Davey Shafik | 2017-01-08 | 3 | -181/+687 |
| | |||||
* | Code cleanup | Davey Shafik | 2017-01-08 | 2 | -272/+267 |
| | |||||
* | Add third argument to `mysql_db_name()` | Davey Shafik | 2017-01-08 | 2 | -10/+17 |
| | | | | Fixes #23 | ||||
* | Fix tests on earlier versions of PHP/PHPUnit | Davey Shafik | 2017-01-08 | 3 | -788/+364 |
| | |||||
* | Add comments | Davey Shafik | 2017-01-08 | 1 | -3/+17 |
| | |||||
* | Add/update file header comments | Davey Shafik | 2017-01-08 | 3 | -6/+26 |
| | |||||
* | require requires 5.3+, require-dev requies 5.6+ due to all the dependencies. ↵ | philip | 2017-01-08 | 1 | -0/+1 |
| | | | | Not sure if this is possible, but will try. | ||||
* | The pull request offers 5.3+ support, so also add it here. | philip | 2017-01-08 | 1 | -1/+1 |
| | |||||
* | Added 5.3+ test support, as requested for pull request #22 | philip | 2017-01-08 | 1 | -0/+3 |
| | |||||
* | 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 | ||||
* | Add PHP 5.6 minimum dependency. Refs #17, #18 | Davey Shafik | 2016-11-07 | 2 | -117/+232 |
| | |||||
* | Add PHP 7.1 and nightly to travis0.2.0 | Davey Shafik | 2016-10-03 | 1 | -0/+3 |
| | |||||
* | Don't trigger weird behavior in PHP 5.6 with extraneous args | Davey Shafik | 2016-10-03 | 1 | -4/+11 |
| | |||||
* | Added the result type to the mysql_fetch_array function (#16) | Swen van Zanten | 2016-10-03 | 2 | -5/+16 |
| | | | | | | * Added the result type to the mysql_fetch_array function * Changed the 'resultType' variable to camelCase, added extra tests * Fixed the mysql_fetch tests | ||||
* | Test for false when `mysql_connect()` fails | Davey Shafik | 2016-10-03 | 1 | -1/+7 |
| | | | | Refs #15 | ||||
* | 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 |
| | |||||
* | Add SensioLabsInsight badge to README0.1.0 | Davey Shafik | 2016-07-04 | 1 | -0/+1 |
| | |||||
* | Fix issues found by <insight.sensiolabs.com> | Davey Shafik | 2016-07-04 | 3 | -141/+396 |
| | |||||
* | Add tests for #13 | Davey Shafik | 2016-07-03 | 1 | -29/+111 |
| | |||||
* | Make sure to reflect MIT licence in composer.json | Davey Shafik | 2016-07-03 | 1 | -1/+1 |
| | | | | Fixes #12 | ||||
* | Specify compatiblity with PHP 5.6 | Davey Shafik | 2016-07-03 | 1 | -1/+1 |
| | | | | Fixes #10 | ||||
* | 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 | ||||
* | Merge pull request #9 from staabm/patch-1 | Davey Shafik | 2016-07-03 | 1 | -0/+3 |
|\ | | | | | Declare mysqli dependency as requirement | ||||
| * | Declare mysqli dependency as requirement | Markus Staab | 2016-04-18 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #8 from gharlan/patch-1 | Davey Shafik | 2016-07-03 | 1 | -1/+1 |
|\ \ | |/ |/| | use array_key_exists() instead of isset() because value can be null | ||||
| * | use array_key_exists() instead of isset() because value can be null | Gregor Harlan | 2016-04-18 | 1 | -1/+1 |
|/ | |||||
* | Userland functions fallback too. | Davey Shafik | 2016-03-30 | 1 | -2/+1 |
| | |||||
* | Add LICENSE/CONTRIBUTING, update README | Davey Shafik | 2016-03-29 | 3 | -3/+79 |
| | |||||
* | Reset field pointer before iterating | Davey Shafik | 2016-03-10 | 2 | -0/+51 |
| | | | | 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 |
| | |||||
* | Call local phpunit | Davey Shafik | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | Fix tests, better HHVM skipping exception handling | Davey Shafik | 2016-02-05 | 3 | -81/+79 |
| | |||||
* | Use `\SebastianBergmann\Environment\Runtime->isHHVM()` | Davey Shafik | 2016-02-03 | 1 | -1/+11 |
| | |||||
* | Merge pull request #5 from gimler/mysql_defaults | Davey Shafik | 2016-02-03 | 3 | -1/+25 |
|\ | | | | | Use INI defaults | ||||
| * | add unit test for mysqli defaults | Gordon Franke | 2016-02-03 | 3 | -7/+19 |
| | | |||||
| * | added info to README.md | D060938 | 2016-02-03 | 1 | -1/+4 |
| | | |||||
| * | added default values from php.ini file if none provided | D060938 | 2016-02-03 | 1 | -0/+9 |
|/ | |||||
* | Fixup tests for HHVM | Davey Shafik | 2016-02-02 | 4 | -99/+129 |
| | |||||
* | Fixup tests for HHVM | Davey Shafik | 2016-02-02 | 1 | -34/+30 |
| | |||||
* | Fix escaping not copying non-escapeable chars to the escaped string | Davey Shafik | 2016-02-02 | 2 | -7/+11 |
| | |||||
* | Allow for different MySQL forks (e.g. MariaDB) | Davey Shafik | 2016-02-02 | 1 | -5/+3 |
| | |||||
* | Add forward-compatible annotation | Davey Shafik | 2016-02-02 | 1 | -1/+4 |
| | |||||
* | Add/Fix all constants | Davey Shafik | 2016-02-02 | 2 | -4/+25 |
| |