Home
last modified time | relevance | path

Searched refs:mysql (Results 26 – 50 of 188) sorted by relevance

12345678

/PHP-5.5/ext/mysql/
H A Dphp_mysql_structs.h56 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 Dbug39457.phpt12 $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 D048.phpt13 $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 D062.phpt12 $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 Dbug30967.phpt18 $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 D049.phpt14 $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 Dbug35517.phpt12 $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 D070.phpt12 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
13 var_dump($mysql->ping());
14 $mysql->close();
H A D064.phpt12 $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 D063.phpt12 $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 Dbug33263.phpt21 $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 Dmysqli_warning.c76 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 Dphp_mysqli_structs.h126 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 Dbug51242.phpt2 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 Dbug48754.phpt72 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 Dmysql_max_links.phpt9 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 Dmysql_pconn_reuse.phpt9 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 Dmysql_pconn_disable.phpt9 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 Dskipif.inc2 if (!extension_loaded("mysql")) {
3 die('skip mysql extension not available');
H A Dbug55473.phpt15 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 Dmysql_constants.phpt2 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 D001.phpt2 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 Dconfig.w324 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 Dconfig.m45 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 Dpdo_mysql___construct_uri.phpt41 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…

Completed in 23 milliseconds

12345678