/PHP-8.3/ext/oci8/ |
H A D | oci8_collection.c | 51 collection->connection = connection; in php_oci_collection_create() 230 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_create() 240 php_oci_connection *connection = collection->connection; in php_oci_collection_size() local 247 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_size() 259 php_oci_connection *connection = collection->connection; in php_oci_collection_max() local 272 php_oci_connection *connection = collection->connection; in php_oci_collection_trim() local 279 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_trim() 300 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_null() 323 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date() 339 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date() [all …]
|
H A D | oci8_lob.c | 67 descriptor->connection = connection; in php_oci_lob_create() 117 php_oci_connection *connection = descriptor->connection; in php_oci_lob_get_length() local 130 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length() 139 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length() 150 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length() 208 php_oci_connection *connection = descriptor->connection; in php_oci_lob_calculate_buffer() local 221 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_calculate_buffer() 239 php_oci_connection *connection = descriptor->connection; in php_oci_lob_read() local 290 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_read() 364 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_read() [all …]
|
H A D | oci8_failover.c | 53 if (Z_ISUNDEF(connection->taf_callback) || Z_ISNULL(connection->taf_callback)) { in callback_fn() 58 ZVAL_RES(¶ms[0], connection->id); in callback_fn() 106 if (Z_ISUNDEF(connection->taf_callback) || Z_ISNULL(connection->taf_callback)) { in php_oci_register_taf_callback() 111 zval_ptr_dtor(&connection->taf_callback); in php_oci_register_taf_callback() 112 ZVAL_NULL(&connection->taf_callback); in php_oci_register_taf_callback() 114 if (!Z_ISUNDEF(connection->taf_callback)) { in php_oci_register_taf_callback() 118 ZVAL_NULL(&connection->taf_callback); in php_oci_register_taf_callback() 132 failover.fo_ctx = connection; in php_oci_register_taf_callback() 141 zval_ptr_dtor(&connection->taf_callback); in php_oci_register_taf_callback() 142 ZVAL_UNDEF(&connection->taf_callback); in php_oci_register_taf_callback() [all …]
|
H A D | oci8.c | 949 DTRACE_OCI8_CONNECT_LOOKUP(connection, connection && connection->is_stub ? 1 : 0); in php_oci_do_connect_ex() 960 if (connection && connection->is_persistent && connection->is_stub) { in php_oci_do_connect_ex() 1043 if (connection == connection->id->ptr && le) { in php_oci_do_connect_ex() 1271 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_connection_rollback() 1292 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_connection_commit() 1320 if (!connection->using_spool && connection->svc) { in php_oci_connection_close() 1321 PHP_OCI_CALL(OCISessionEnd, (connection->svc, connection->err, connection->session, (ub4) 0)); in php_oci_connection_close() 1383 pefree(connection, connection->is_persistent); in php_oci_connection_close() 1453 …connection->is_attached = connection->is_open = connection->rb_on_disconnect = connection->used_th… in php_oci_connection_release() 1488 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_password_change() [all …]
|
H A D | oci8_dtrace.d | 20 …probe oci8__check__connection(void *connection, char *client_id, int is_open, long errcode, unsign… 22 probe oci8__connect__return(void *connection); 23 probe oci8__connection__close(void *connection); 25 probe oci8__execute__mode(void *connection, char *client_id, void *statement, unsigned int mode); 26 probe oci8__sqltext(void *connection, char *client_id, void *statement, char *sql); 28 probe oci8__connect__p__dtor__close(void *connection); 29 probe oci8__connect__p__dtor__release(void *connection); 30 probe oci8__connect__lookup(void *connection, int is_stub); 31 probe oci8__connect__expiry(void *connection, int is_stub, long idle_expiry, long timestamp); 32 …probe oci8__connect__type(int persistent, int exclusive, void *connection, long num_persistent, lo…
|
H A D | oci8.stub.php | 502 * @param resource $connection 512 * @param resource $connection 522 * @param resource $connection 688 * @param resource $connection 756 * @param resource $connection 762 * @param resource $connection 800 * @param resource $connection 825 * @param resource $connection 831 * @param resource $connection 854 * @param resource $connection [all …]
|
H A D | oci8_interface.c | 49 php_oci_connection *connection; in PHP_FUNCTION() local 1527 if (connection) { in PHP_FUNCTION() 1528 errh = connection->err; in PHP_FUNCTION() 1534 if (connection) { in PHP_FUNCTION() 1535 errh = connection->err; in PHP_FUNCTION() 1688 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION() 1703 pefree(connection->client_id, connection->is_persistent); in PHP_FUNCTION() 1766 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION() 1794 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION() 1822 connection->errcode = php_oci_error(connection->err, errstatus); in PHP_FUNCTION() [all …]
|
/PHP-8.3/ext/oci8/tests/ |
H A D | error_parse.phpt | 19 // Test parse error for normal connection 30 echo "Normal connection: Parse error\n"; 35 // Test parse error for new connection 46 echo "New connection: Parse error\n"; 51 // Test parse error for persistent connection 70 echo "No connection: error: "; 80 echo "New connection (take #2): Parse error: "; 106 Normal connection: Parse error 117 New connection: Parse error 128 Persistent connection: Parse error [all …]
|
H A D | drcp_conn_close2.phpt | 17 // Test will open a connection 18 // Close the connection 19 // Open another connection 20 // With oci_close() the connection is released to the pool and hence the 21 // the second connection will be different 30 // Open another connection 47 resource(%d) of type (oci8 connection) 48 resource(%d) of type (oci8 connection)
|
H A D | persistent.phpt | 24 resource(%d) of type (oci8 persistent connection) 25 resource(%d) of type (oci8 persistent connection) 26 resource(%d) of type (oci8 persistent connection) 27 resource(%d) of type (oci8 connection) 28 resource(%d) of type (oci8 connection) 29 resource(%d) of type (oci8 connection)
|
H A D | drcp_connect1.phpt | 41 echo " Select with connection 2\n"; 49 echo " Select with connection 3\n"; 69 echo " Select with persistent connection 2\n"; 78 resource(%d) of type (oci8 connection) 85 resource(%d) of type (oci8 connection) 86 Select with connection 2 90 resource(%d) of type (oci8 connection) 91 Select with connection 3 95 resource(%d) of type (oci8 persistent connection) 99 resource(%d) of type (oci8 persistent connection) [all …]
|
H A D | drcp_conn_close1.phpt | 17 // Test will open a connection 18 // Close the connection 19 // Open another connection 20 // With oci_close() being a no-op, the same connection will be returned 28 // Open another connection 47 resource(%d) of type (oci8 connection) 48 resource(%d) of type (oci8 connection)
|
H A D | drcp_pconn_close1.phpt | 17 // Test will open a persistent connection 18 // Close the connection 19 // Open another connection 20 // With oci_close() being a no-op, the same connection will be returned 27 // Open another connection 46 resource(%d) of type (oci8 persistent connection) 47 resource(%d) of type (oci8 persistent connection)
|
H A D | drcp_pconn_close2.phpt | 17 // Test will open a persistent connection 18 // Close the connection 19 // Open another connection 20 // With oci_close() the connection is released to the pool and hence the 21 // the second connection will be different 47 resource(%d) of type (oci8 persistent connection) 48 resource(%d) of type (oci8 persistent connection)
|
H A D | bug42134.phpt | 16 // Test collection creation error for normal connection 27 echo "Normal connection: New Collection error\n"; 32 // Test collection creation error for new connection 43 echo "New connection: New Collection error\n"; 48 // Test collection creation error for persistent connection 59 echo "Persistent connection: New Collection error\n"; 69 Normal connection: New Collection error 82 New connection: New Collection error 95 Persistent connection: New Collection error
|
H A D | connect_with_charset_001.phpt | 29 resource(%d) of type (oci8 connection) 30 resource(%d) of type (oci8 connection) 33 resource(%d) of type (oci8 connection) 36 resource(%d) of type (oci8 connection) 38 resource(%d) of type (oci8 connection) 39 resource(%d) of type (oci8 connection)
|
/PHP-8.3/ext/pgsql/ |
H A D | pgsql.stub.php | 467 function pg_connect_poll(PgSql\Connection $connection): int {} argument 469 function pg_close(?PgSql\Connection $connection = null): true {} argument 486 function pg_port(?PgSql\Connection $connection = null): string {} argument 489 function pg_tty(?PgSql\Connection $connection = null): string {} argument 506 function pg_ping(?PgSql\Connection $connection = null): bool {} argument 710 function pg_lo_unlink($connection, $oid = UNKNOWN): bool {} argument 718 function pg_lounlink($connection, $oid = UNKNOWN): bool {} argument 880 function pg_cancel_query(PgSql\Connection $connection): bool {} argument 904 function pg_get_pid(PgSql\Connection $connection): int {} argument 910 function pg_socket(PgSql\Connection $connection) {} argument [all …]
|
/PHP-8.3/ext/pgsql/tests/ |
H A D | deprecated_implicit_default_link.phpt | 89 Deprecated: pg_execute(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 93 Deprecated: pg_lo_open(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 97 Deprecated: pg_dbname(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 101 Deprecated: pg_options(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 103 Deprecated: pg_port(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 105 Deprecated: pg_tty(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 107 Deprecated: pg_host(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 113 Deprecated: pg_ping(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 115 Deprecated: pg_query(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d 117 Deprecated: pg_exec(): Automatic fetching of PostgreSQL connection is deprecated in %s on line %d [all …]
|
H A D | bug65119.phpt | 14 $connection = pg_pconnect($conn_str, PGSQL_CONNECT_FORCE_NEW); 15 pg_query($connection, "begin"); 16 pg_query($connection, "CREATE TABLE bug65119 (i INTEGER)"); 17 pg_copy_from($connection, "bug65119", $values, "\t", "NULL"); 18 pg_query($connection, "rollback");
|
/PHP-8.3/ext/mysqli/tests/ |
H A D | bug67983.phpt | 14 $connection = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 16 mysqli_options($connection, MYSQLI_OPT_INT_AND_FLOAT_NATIVE, true); 18 mysqli_set_charset($connection, 'utf8'); 19 mysqli_query($connection, 'DROP TABLE IF EXISTS test'); 20 mysqli_query($connection, 'CREATE TABLE test (id BIT(8))'); 21 mysqli_query($connection, 'INSERT INTO test VALUES (0), (1), (42)'); 23 $res = mysqli_query($connection, 'SELECT * FROM test');
|
H A D | bug79375.phpt | 149 Running query on first connection 150 Got %d for first connection 151 Running query on second connection 154 Running query on first connection 155 Got %d for first connection 159 Running query on first connection 160 Got %d for first connection 164 Running query on first connection 165 Got %d for first connection 169 Running query on first connection [all …]
|
H A D | mysqli_pconn_limits.phpt | 23 printf("Regular connection 1 - '%s'\n", $row['_desc']); 26 printf("[002] Cannot open second regular connection, [%d] %s\n", 35 printf("Regular connection 2 - '%s'\n", $row['_desc']); 49 printf("Persistent connection 1 - '%s'\n", $row['_desc']); 62 printf("Persistent connection 2 - '%s'\n", $row['_desc']); 76 printf("Persistent connection 3 - '%s'\n", $row['_desc']); 90 Regular connection 1 - 'works..' 91 Regular connection 2 - 'works...' 92 Persistent connection 1 - 'works...' 93 Persistent connection 2 - 'works...' [all …]
|
/PHP-8.3/ext/standard/tests/http/ |
H A D | bug65634.phpt | 11 function do_test($version, $connection) { 18 if ($connection) { 19 $options['http']['header'] = "Connection: $connection"; 37 echo "HTTP/1.0, connection: close:\n"; 40 echo "HTTP/1.0, connection: keep-alive:\n"; 46 echo "HTTP/1.1, connection: close:\n"; 49 echo "HTTP/1.1, connection: keep-alive:\n"; 58 HTTP/1.0, connection: close: 63 HTTP/1.0, connection: keep-alive: 73 HTTP/1.1, connection: close: [all …]
|
/PHP-8.3/ext/pdo_mysql/tests/ |
H A D | bug79375.phpt | 73 testNormalQuery($db, 'first connection'); 89 testUnbuffered($db, 'first connection'); 102 Running query on first connection 103 Got 1 for first connection 104 Running query on second connection 107 Running query on first connection 108 Got 1 for first connection 109 Running query on second connection 112 Running query on first connection 113 Got 1 for first connection [all …]
|
/PHP-8.3/ext/pdo_sqlite/tests/ |
H A D | bug78192.phpt | 7 $connection = new \PDO('sqlite::memory:'); 8 $connection->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); 9 $connection->query('CREATE TABLE user (id INTEGER PRIMARY KEY NOT NULL, name VARCHAR(255) NOT NULL)… 11 $stmt = $connection->prepare('INSERT INTO user (id, name) VALUES(:id, :name)'); 17 $stmt = $connection->prepare('SELECT * FROM user WHERE id = :id'); 21 $connection->query('ALTER TABLE user ADD new_col VARCHAR(255)');
|