/PHP-5.5/ext/mysql/ |
H A D | php_mysql_structs.h | 56 PHP_MINIT_FUNCTION(mysql); 57 PHP_RINIT_FUNCTION(mysql); 58 PHP_MSHUTDOWN_FUNCTION(mysql); 59 PHP_RSHUTDOWN_FUNCTION(mysql); 60 PHP_MINFO_FUNCTION(mysql); 113 ZEND_BEGIN_MODULE_GLOBALS(mysql) 127 ZEND_END_MODULE_GLOBALS(mysql)
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | bug39457.phpt | 12 $mysql = mysqli_init(); 13 $mysql->connect($host, $user, $passwd, $db, $port, $socket); 15 $mysql->connect($host, $user, $passwd, $db, $port, $socket); 17 $mysql->close();
|
H A D | 048.phpt | 13 $mysql = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 15 $mysql->select_db($db); 16 $mysql->query("DROP TABLE IF EXISTS test_fetch_null"); 18 $mysql->query("CREATE TABLE test_fetch_null(col1 tinyint, col2 smallint, 26 …$mysql->query("INSERT INTO test_fetch_null(col1,col10, col11) VALUES(1,'foo1', 1000),(2,'foo2', 88… 28 …$stmt = $mysql->prepare("SELECT col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11… 39 $mysql->query("DROP TABLE IF EXISTS test_fetch_null"); 40 $mysql->close();
|
H A D | 062.phpt | 12 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 14 $mysql->real_query("SELECT 'foo' FROM DUAL"); 16 $myresult = new mysqli_result($mysql); 20 $mysql->close();
|
H A D | bug30967.phpt | 18 $mysql = new mysql2($host, $user, $passwd, $db, $port, $socket); 20 $mysql->query("THIS DOES NOT WORK"); 21 printf("%d\n", $mysql->errno); 23 $mysql->close();
|
H A D | 049.phpt | 14 $mysql = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 16 $mysql->select_db($db); 17 $result = $mysql->query("SELECT DATABASE()"); 25 $mysql->close();
|
H A D | bug35517.phpt | 12 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 14 $mysql->query("CREATE TABLE temp (id INT UNSIGNED NOT NULL)"); 15 $mysql->query("INSERT INTO temp (id) VALUES (3000000897),(3800001532),(3900002281),(3100059612)"); 16 $stmt = $mysql->prepare("SELECT id FROM temp"); 36 $mysql->query("DROP TABLE temp"); 37 $mysql->close();
|
H A D | 070.phpt | 12 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 13 var_dump($mysql->ping()); 14 $mysql->close();
|
H A D | 064.phpt | 12 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 14 $stmt = new mysqli_stmt($mysql, "SELECT NULL FROM DUAL"); 19 $mysql->close();
|
H A D | 063.phpt | 12 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 14 $stmt = new mysqli_stmt($mysql, "SELECT 'foo' FROM DUAL"); 19 $mysql->close();
|
H A D | bug33263.phpt | 21 $mysql = new test($host, $user, $passwd, $db, $port, $socket); 23 $stmt = $mysql->prepare("SELECT DATABASE()"); 33 $mysql->close();
|
/PHP-5.5/ext/mysqli/ |
H A D | mysqli_warning.c | 76 MYSQLI_WARNING *php_get_warnings(MYSQL *mysql TSRMLS_DC) in php_get_warnings() 82 if (mysql_real_query(mysql, "SHOW WARNINGS", 13)) { in php_get_warnings() 86 result = mysql_store_result(mysql); in php_get_warnings() 126 MYSQLI_WARNING * php_get_warnings(MYSQLND_CONN_DATA * mysql TSRMLS_DC) in php_get_warnings() 132 if (mysql->m->query(mysql, "SHOW WARNINGS", 13 TSRMLS_CC)) { in php_get_warnings() 136 result = mysql->m->use_result(mysql TSRMLS_CC); in php_get_warnings() 285 MY_MYSQL *mysql; local 286 MYSQLI_FETCH_RESOURCE_CONN(mysql, &z, MYSQLI_STATUS_VALID); 287 if (mysql_warning_count(mysql->mysql)) { 289 w = php_get_warnings(mysql->mysql TSRMLS_CC); [all …]
|
H A D | php_mysqli_structs.h | 126 MYSQL *mysql; member 207 extern void php_mysqli_close(MY_MYSQL * mysql, int close_type, int resource_status TSRMLS_DC); 218 #define MYSQLI_DISABLE_MQ if (mysql->multi_query) { \ 219 mysql_set_server_option(mysql->mysql, MYSQL_OPTION_MULTI_STATEMENTS_OFF); \ 220 mysql->multi_query = 0; \ 223 #define MYSQLI_ENABLE_MQ if (!mysql->multi_query) { \ 224 mysql_set_server_option(mysql->mysql, MYSQL_OPTION_MULTI_STATEMENTS_ON); \ 225 mysql->multi_query = 1; \ 287 if (!(__ptr)->mysql) { \
|
/PHP-5.5/ext/mysql/tests/ |
H A D | bug51242.phpt | 2 Bug #51242 (Empty mysql.default_port does not default to 3306 anymore, but 0) 4 mysql.default_port= 5 mysql.default_socket=/this/does/not/really/need/to/exist 19 die("skip mysql not available at $host:3306"); 38 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 39 resource(%d) of type (mysql link)
|
H A D | bug48754.phpt | 72 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 74 resource(%d) of type (mysql link) 81 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 83 resource(%d) of type (mysql link) 84 resource(%d) of type (mysql link) 89 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 90 resource(%d) of type (mysql link persistent) 97 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 98 resource(%d) of type (mysql link persistent) 99 resource(%d) of type (mysql link persistent)
|
H A D | mysql_max_links.phpt | 9 mysql.max_links=2 57 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 59 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 61 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 66 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 68 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 74 resource(%d) of type (mysql link) 76 resource(%d) of type (mysql link)
|
H A D | mysql_pconn_reuse.phpt | 9 mysql.allow_persistent=1 10 mysql.max_persistent=1 11 mysql.max_links=2 62 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 64 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 68 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 70 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 72 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u…
|
H A D | mysql_pconn_disable.phpt | 9 mysql.allow_persistent=0 10 mysql.max_persistent=1 11 mysql.max_links=2 52 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 54 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 58 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 60 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u…
|
H A D | skipif.inc | 2 if (!extension_loaded("mysql")) { 3 die('skip mysql extension not available');
|
H A D | bug55473.phpt | 15 mysql.max_persistent=30 16 mysql.allow_persistent=1 45 /* wait while mysql closes connection */ 71 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 76 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 82 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 88 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: … 94 Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: …
|
H A D | mysql_constants.phpt | 2 Constants exported by ext/mysql 41 if (stristr($name, 'mysql') && !preg_match("/^mysql([^_]+)_/iu", $name)) { 65 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u…
|
H A D | 001.phpt | 2 mysql connect 32 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u… 34 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: u…
|
/PHP-5.5/ext/pdo_mysql/ |
H A D | config.w32 | 4 ARG_WITH("pdo-mysql", "MySQL support for PDO", "no"); 14 …CHECK_HEADER_ADD_INCLUDE("mysql.h", "CFLAGS_PDO_MYSQL", PHP_PHP_BUILD + "\\include\\mysql;" + PHP_…
|
H A D | config.m4 | 5 PHP_ARG_WITH(pdo-mysql, for MySQL support for PDO, 6 [ --with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directory 68 AC_MSG_CHECKING([for mysql install under $PDO_MYSQL_DIR]) 69 if test -r $PDO_MYSQL_DIR/include/mysql; then 70 PDO_MYSQL_INC_DIR=$PDO_MYSQL_DIR/include/mysql 74 if test -r $PDO_MYSQL_DIR/$PHP_LIBDIR/mysql; then 75 PDO_MYSQL_LIB_DIR=$PDO_MYSQL_DIR/$PHP_LIBDIR/mysql 84 AC_MSG_ERROR([Unable to find your mysql installation]) 91 AC_MSG_ERROR([Unable to find your mysql installation])
|
/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct_uri.phpt | 41 fwrite($fp, sprintf('mysql:dbname=letshopeinvalid;%s%s', 72 [002] URI=uri:file:%spdomuri.tst, DSN=mysql%sdbname=%s, File=%spdomuri.tst (%d bytes, 'mysql%sdbnam… 75 [003] URI=uri:file:%spdomuri.tst, DSN=mysql%sdbname=%s, File=%spdomuri.tst (%d bytes, 'mysql%sdbnam…
|