/PHP-7.2/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_types.phpt | 119 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", -11, 20); 120 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", NULL, 40); 124 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", 1, 100); 125 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", NULL, 120); 126 func_mysqli_stmt_get_result($link, $engine, "i", "BOOLEAN", 0, 140); 155 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT", -1, 1780); 163 func_mysqli_stmt_get_result($link, $engine, "d", "FLOAT", NULL, 620); 184 func_mysqli_stmt_get_result($link, $engine, "s", "DATE", NULL, 880); 194 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", NULL, 1020); 199 func_mysqli_stmt_get_result($link, $engine, "s", "YEAR", NULL, 1080); [all …]
|
H A D | mysqli_fetch_array_oo.phpt | 79 // don't bail, engine might not support the datatype 144 func_mysqli_fetch_array($mysqli, $engine, "TINYINT", -11, "-11", 20); 149 func_mysqli_fetch_array($mysqli, $engine, "BOOL", 1, "1", 60); 150 func_mysqli_fetch_array($mysqli, $engine, "BOOL", NULL, NULL, 70); 151 func_mysqli_fetch_array($mysqli, $engine, "BOOLEAN", 0, "0", 80); 182 func_mysqli_fetch_array($mysqli, $engine, "FLOAT", NULL, NULL, 300); 199 func_mysqli_fetch_array($mysqli, $engine, "DATE", NULL, NULL, 430); 209 func_mysqli_fetch_array($mysqli, $engine, "TIME", NULL, NULL, 500); 212 func_mysqli_fetch_array($mysqli, $engine, "YEAR", NULL, NULL, 530); 246 func_mysqli_fetch_array($mysqli, $engine, "BLOB", "a", "a", 780); [all …]
|
H A D | mysqli_fetch_all_oo.phpt | 103 // don't bail, engine might not support the datatype 176 func_mysqli_fetch_all_oo($link, $engine, "BOOL", 1, "1", 60); 177 func_mysqli_fetch_all_oo($link, $engine, "BOOL", NULL, NULL, 70); 178 func_mysqli_fetch_all_oo($link, $engine, "BOOLEAN", 0, "0", 80); 223 func_mysqli_fetch_all_oo($link, $engine, "DATE", NULL, NULL, 430); 235 func_mysqli_fetch_all_oo($link, $engine, "TIME", NULL, NULL, 500); 239 func_mysqli_fetch_all_oo($link, $engine, "YEAR", NULL, NULL, 530); 273 func_mysqli_fetch_all_oo($link, $engine, "BLOB", "a", "a", 780); 275 func_mysqli_fetch_all_oo($link, $engine, "BLOB", NULL, NULL, 790); 277 func_mysqli_fetch_all_oo($link, $engine, "TEXT", "a", "a", 800); [all …]
|
H A D | mysqli_fetch_array.phpt | 80 // don't bail, engine might not support the datatype 157 func_mysqli_fetch_array($link, $engine, "TINYINT", -11, "-11", 20); 162 func_mysqli_fetch_array($link, $engine, "BOOL", 1, "1", 60); 163 func_mysqli_fetch_array($link, $engine, "BOOL", NULL, NULL, 70); 164 func_mysqli_fetch_array($link, $engine, "BOOLEAN", 0, "0", 80); 195 func_mysqli_fetch_array($link, $engine, "FLOAT", NULL, NULL, 300); 213 func_mysqli_fetch_array($link, $engine, "DATE", NULL, NULL, 430); 224 func_mysqli_fetch_array($link, $engine, "TIME", NULL, NULL, 500); 228 func_mysqli_fetch_array($link, $engine, "YEAR", NULL, NULL, 530); 266 func_mysqli_fetch_array($link, $engine, "TEXT", "a", "a", 800); [all …]
|
H A D | mysqli_fetch_all.phpt | 102 // don't bail, engine might not support the datatype 176 func_mysqli_fetch_all($link, $engine, "BOOL", 1, "1", 60); 177 func_mysqli_fetch_all($link, $engine, "BOOL", NULL, NULL, 70); 178 func_mysqli_fetch_all($link, $engine, "BOOLEAN", 0, "0", 80); 223 func_mysqli_fetch_all($link, $engine, "DATE", NULL, NULL, 430); 233 func_mysqli_fetch_all($link, $engine, "TIME", NULL, NULL, 500); 237 func_mysqli_fetch_all($link, $engine, "YEAR", NULL, NULL, 530); 271 func_mysqli_fetch_all($link, $engine, "BLOB", "a", "a", 780); 273 func_mysqli_fetch_all($link, $engine, "BLOB", NULL, NULL, 790); 275 func_mysqli_fetch_all($link, $engine, "TEXT", "a", "a", 800); [all …]
|
H A D | mysqli_stmt_bind_result.phpt | 161 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT", -11, 20); 162 func_mysqli_stmt_bind_result($link, $engine, "i", "TINYINT", NULL, 40); 166 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOL", 1, 100); 167 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOL", NULL, 120); 168 func_mysqli_stmt_bind_result($link, $engine, "i", "BOOLEAN", 0, 140); 197 func_mysqli_stmt_bind_result($link, $engine, "i", "BIGINT", -1, 1780); 205 func_mysqli_stmt_bind_result($link, $engine, "d", "FLOAT", NULL, 620); 226 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE", NULL, 880); 236 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", NULL, 1020); 241 func_mysqli_stmt_bind_result($link, $engine, "s", "YEAR", NULL, 1080); [all …]
|
H A D | mysqli_stmt_bind_param.phpt | 174 func_mysqli_stmt_bind_datatype($link, $engine, "i", "TINYINT", -11, 20); 175 func_mysqli_stmt_bind_datatype($link, $engine, "i", "TINYINT", NULL, 30); 179 func_mysqli_stmt_bind_datatype($link, $engine, "i", "BOOL", 1, 60); 180 func_mysqli_stmt_bind_datatype($link, $engine, "i", "BOOL", NULL, 70); 181 func_mysqli_stmt_bind_datatype($link, $engine, "i", "BOOLEAN", 0, 80); 217 func_mysqli_stmt_bind_datatype($link, $engine, "d", "FLOAT", NULL, 310); 245 func_mysqli_stmt_bind_datatype($link, $engine, "s", "DATE", NULL, 440); 255 func_mysqli_stmt_bind_datatype($link, $engine, "s", "TIME", NULL, 510); 259 func_mysqli_stmt_bind_datatype($link, $engine, "s", "YEAR", NULL, 540); 295 func_mysqli_stmt_bind_datatype($link, $engine, "b", "BLOB", "", 790); [all …]
|
H A D | mysqli_stmt_fetch_geom.phpt | 18 function func_mysqli_stmt_fetch_geom($link, $engine, $sql_type, $bind_value, $offset) { 25 …sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sql_type, $engine))) { 124 func_mysqli_stmt_fetch_geom($link, $engine, "GEOMETRY", "GeomFromText('POINT(2 2)')", 20); 125 func_mysqli_stmt_fetch_geom($link, $engine, "POINT", "GeomFromText('POINT(1 1)')", 40); 126 …func_mysqli_stmt_fetch_geom($link, $engine, "LINESTRING", "GeomFromText('LINESTRING(0 0,1 1,2 2)')… 127 …func_mysqli_stmt_fetch_geom($link, $engine, "POLYGON", "GeomFromText('POLYGON((0 0,10 0,10 10,0 10… 128 …func_mysqli_stmt_fetch_geom($link, $engine, "MULTIPOINT", "GeomFromText('MULTIPOINT(1 1, 2 2)')", … 129 …func_mysqli_stmt_fetch_geom($link, $engine, "MULTILINESTRING", "GeomFromText('MULTILINESTRING((0 0… 130 …func_mysqli_stmt_fetch_geom($link, $engine, "MULTIPOLYGON", "GeomFromText('MULTIPOLYGON(((0 0,10 0… 131 …func_mysqli_stmt_fetch_geom($link, $engine, "GEOMETRYCOLLECTION", "GeomFromText('GEOMETRYCOLLECTIO…
|
H A D | mysqli_stmt_get_result_geom.phpt | 21 function func_mysqli_stmt_get_result_geom($link, $engine, $sql_type, $bind_value, $offset) { 28 …sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sql_type, $engine))) { 126 func_mysqli_stmt_get_result_geom($link, $engine, "GEOMETRY", "GeomFromText('POINT(2 2)')", 20); 127 func_mysqli_stmt_get_result_geom($link, $engine, "POINT", "GeomFromText('POINT(1 1)')", 40); 128 …func_mysqli_stmt_get_result_geom($link, $engine, "LINESTRING", "GeomFromText('LINESTRING(0 0,1 1,2… 129 …func_mysqli_stmt_get_result_geom($link, $engine, "POLYGON", "GeomFromText('POLYGON((0 0,10 0,10 10… 130 …func_mysqli_stmt_get_result_geom($link, $engine, "MULTIPOINT", "GeomFromText('MULTIPOINT(1 1, 2 2)… 131 …func_mysqli_stmt_get_result_geom($link, $engine, "MULTILINESTRING", "GeomFromText('MULTILINESTRING… 132 …func_mysqli_stmt_get_result_geom($link, $engine, "MULTIPOLYGON", "GeomFromText('MULTIPOLYGON(((0 0… 133 …func_mysqli_stmt_get_result_geom($link, $engine, "GEOMETRYCOLLECTION", "GeomFromText('GEOMETRYCOLL…
|
H A D | mysqli_stmt_bind_param_type_juggling.phpt | 13 …function bind_twice($link, $engine, $sql_type1, $sql_type2, $bind_type1, $bind_type2, $bind_value1… 21 $sql = sprintf("CREATE TABLE test(col1 %s, col2 %s) ENGINE=%s", $sql_type1, $sql_type2, $engine); 87 bind_twice($link, $engine, 'CHAR(1)', 'CHAR(1)', 's', 's', 'a', 'b', 10); 88 bind_twice($link, $engine, 'INT', 'INT', 'i', 'i', 1, 2, 20); 89 bind_twice($link, $engine, 'FLOAT', 'FLOAT', 'd', 'd', 1.01, 1.02, 30); 92 bind_twice($link, $engine, 'CHAR(1)', 'CHAR(1)', 's', 's', 1, 2, 40); 94 bind_twice($link, $engine, 'INT', 'INT', 'i', 'i', '1', '2', 50); 96 bind_twice($link, $engine, 'FLOAT', 'FLOAT', 'd', 'd', '1.01', '1.02', 60); 117 bind_twice($link, $engine, 'INT', 'CHAR(1)', 'i', 's', 1, 'a', 70);
|
H A D | bug42378.phpt | 15 function create_table($link, $column, $min, $max, $engine, $offset) { 26 $column, $engine); 160 $expected = create_table($link, 'FLOAT', -10000, 10000, $engine, 90); 165 $expected = create_table($link, 'FLOAT', -10000, 10000, $engine, 110); 170 $expected = create_table($link, 'FLOAT UNSIGNED', 0, 10000, $engine, 130); 175 $expected = create_table($link, 'DECIMAL(5,0)', -1000, 1000, $engine, 150);
|
H A D | mysqli_stmt_bind_result_format.phpt | 15 function create_table($link, $column, $min, $max, $engine, $offset) { 25 $column, $engine); 165 $expected = create_table($link, 'FLOAT', -10000, 10000, $engine, 90); 170 $expected = create_table($link, 'FLOAT UNSIGNED', 0, 10000, $engine, 110); 175 $expected = create_table($link, 'TINYINT', -128, 127, $engine, 130); 180 $expected = create_table($link, 'SMALLINT UNSIGNED', 0, 65535, $engine, 150); 185 $expected = create_table($link, 'MEDIUMINT', 0, 8388607, $engine, 170); 190 $expected = create_table($link, 'INT UNSIGNED', 0, 1000, $engine, 190); 195 $expected = create_table($link, 'BIGINT', -1000, 1000, $engine, 210); 200 $expected = create_table($link, 'DECIMAL(5,0)', -1000, 1000, $engine, 230);
|
H A D | mysqli_fetch_array_large.phpt | 105 function test_fetch($host, $user, $passwd, $db, $port, $socket, $engine, $flags = null) { 115 …BLE test(id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, label VARCHAR(255)) ENGINE = %s", $engine))) { 158 test_fetch($host, $user, $passwd, $db, $port, $socket, $engine, null); 159 test_fetch($host, $user, $passwd, $db, $port, $socket, $engine, MYSQLI_CLIENT_COMPRESS);
|
H A D | bug53503.phpt | 12 if ($msg = check_local_infile_support($link, $engine)) 32 …if (!$link->query("CREATE TABLE test (dump1 INT UNSIGNED NOT NULL PRIMARY KEY) ENGINE=" . $engine)…
|
H A D | 003.phpt | 26 c7 timestamp(6)) ENGINE=" . $engine); 46 c7 timestamp) ENGINE=" . $engine);
|
H A D | bug68077.phpt | 14 if ($msg = check_local_infile_support($link, $engine)) 37 …if (!$link->query("CREATE TABLE test (dump1 INT UNSIGNED NOT NULL PRIMARY KEY) ENGINE=" . $engine)…
|
H A D | mysqli_stmt_get_result_non_select.phpt | 39 foreach ($engines as $k => $engine) 40 foreach ($engine as $k => $v)
|
H A D | 037.phpt | 20 mysqli_query($link, "CREATE TABLE test_result (a int, b varchar(10)) ENGINE = " . $engine);
|
H A D | 038.phpt | 19 mysqli_query($link, "CREATE TABLE test_result (a int, b varchar(10)) ENGINE = " . $engine);
|
H A D | 009.phpt | 32 c8 bigint unsigned) ENGINE=" . $engine); 61 …, "CREATE TABLE test_bind_fetch_uint(c1 integer unsigned, c2 integer unsigned) ENGINE=" . $engine);
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | mysql_pdo_test.inc | 35 static function createTestTable($db, $engine = null) { 36 if (!$engine) 37 $engine = PDO_MYSQL_TEST_ENGINE; 40 $db->exec('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine); 152 if (isset($row['engine']) && isset($row['support'])) { 153 if ('InnoDB' == $row['engine'] && ('YES' == $row['support'] || 'DEFAULT' == $row['support']))
|
H A D | table.inc | 7 $db->exec('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine);
|
H A D | README | 9 PDO_MYSQL_TEST_ENGINE - storage engine to use
|
/PHP-7.2/sapi/apache2handler/ |
H A D | php_apache.h | 75 zend_bool engine; member
|
/PHP-7.2/Zend/tests/ |
H A D | bug38779.phpt | 2 Bug #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapp…
|