diff options
author | Davey Shafik <davey@php.net> | 2020-10-27 09:47:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 09:47:56 +0000 |
commit | c981209530f122d4e3033eebe66f160c0638ee91 (patch) | |
tree | 76f195e130469ab981529801bd56a1f9e5d66971 /tests/MySqlShimTest.php | |
parent | 46b4241970c0a6438fc185ef900201c8cec74ed3 (diff) | |
download | php7-mysql-shim-c981209530f122d4e3033eebe66f160c0638ee91.zip php7-mysql-shim-c981209530f122d4e3033eebe66f160c0638ee91.tar.gz php7-mysql-shim-c981209530f122d4e3033eebe66f160c0638ee91.tar.bz2 |
mysql_fetch_field() returns a string for type
Diffstat (limited to 'tests/MySqlShimTest.php')
-rw-r--r-- | tests/MySqlShimTest.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/MySqlShimTest.php b/tests/MySqlShimTest.php index 02f4404..71c5c0a 100644 --- a/tests/MySqlShimTest.php +++ b/tests/MySqlShimTest.php @@ -979,62 +979,62 @@ class MySqlShimTest extends \Yoast\PHPUnitPolyfills\TestCases\TestCase 0 => array( 'name' => 'id', 'max_length' => 1, 'not_null' => 1, 'primary_key' => 1, 'unique_key' => 0, 'multiple_key' => 0, 'numeric' => 1, 'blob' => 0, - 'type' => MYSQLI_TYPE_LONG, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'int', 'unsigned' => 0, 'zerofill' => 0 ), 1 => array( 'name' => 'one', 'max_length' => 3, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 1, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_VAR_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'varchar', 'unsigned' => 0, 'zerofill' => 0 ), 2 => array( 'name' => 'two', 'max_length' => 1, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 1, 'multiple_key' => 0, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_VAR_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'varchar', 'unsigned' => 0, 'zerofill' => 0 ), 3 => array( 'name' => 'three', 'max_length' => 1, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 1, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_VAR_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'varchar', 'unsigned' => 0, 'zerofill' => 0 ), 4 => array( 'name' => 'four', 'max_length' => 1, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 1, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_VAR_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'varchar', 'unsigned' => 0, 'zerofill' => 0 ), 5 => array( 'name' => 'five', 'max_length' => 1, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 0, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_VAR_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'varchar', 'unsigned' => 0, 'zerofill' => 0 ), 6 => array( 'name' => 'six', 'max_length' => 1, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 0, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_VAR_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'varchar', 'unsigned' => 0, 'zerofill' => 0 ), 7 => array( 'name' => 'seven', 'max_length' => 1, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 1, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_VAR_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'varchar', 'unsigned' => 0, 'zerofill' => 0 ), 8 => array( 'name' => 'eight', 'max_length' => 1, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 0, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_VAR_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'varchar', 'unsigned' => 0, 'zerofill' => 0 ), 9 => array( 'name' => 'nine', 'max_length' => 3, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 0, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'char', 'unsigned' => 0, 'zerofill' => 0 ), 10 => array( 'name' => 'ten', 'max_length' => 3, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 0, 'numeric' => 0, 'blob' => 0, - 'type' => MYSQLI_TYPE_STRING, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'char', 'unsigned' => 0, 'zerofill' => 0 ), 11 => array( 'name' => 'eleven', 'max_length' => 1, 'not_null' => 0, 'primary_key' => 0, 'unique_key' => 0, 'multiple_key' => 0, 'numeric' => 0, 'blob' => 1, - 'type' => MYSQLI_TYPE_BLOB, 'unsigned' => 0, 'zerofill' => 0 + 'type' => 'blob', 'unsigned' => 0, 'zerofill' => 0 ), ); |