We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53763e1 commit 5adeed3Copy full SHA for 5adeed3
NEWS
@@ -33,6 +33,10 @@ PHP NEWS
33
. Add missing error checks on EVP_MD_CTX_create() and EVP_VerifyInit().
34
(nielsdos)
35
36
+- PGSQL:
37
+ . Fixed typo in the array returned from pg_meta_data (extended mode).
38
+ (David Carlier)
39
+
40
- SPL:
41
. Fixed bug GH-10519 (Array Data Address Reference Issue). (Nathan Freeman)
42
ext/pgsql/pgsql.c
@@ -4343,7 +4343,7 @@ PHP_PGSQL_API zend_result php_pgsql_meta_data(PGconn *pg_link, const zend_string
4343
/* pg_type.typtype */
4344
add_assoc_bool_ex(&elem, "is base", sizeof("is base") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "b"));
4345
add_assoc_bool_ex(&elem, "is composite", sizeof("is composite") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "c"));
4346
- add_assoc_bool_ex(&elem, "is pesudo", sizeof("is pesudo") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "p"));
+ add_assoc_bool_ex(&elem, "is pseudo", sizeof("is pseudo") - 1, !strcmp(PQgetvalue(pg_result, i, 7), "p"));
4347
/* pg_description.description */
4348
add_assoc_string_ex(&elem, "description", sizeof("description") - 1, PQgetvalue(pg_result, i, 8));
4349
}
ext/pgsql/tests/pg_meta_data_001.phpt
@@ -122,7 +122,7 @@ array(2) {
122
bool(true)
123
["is composite"]=>
124
bool(false)
125
- ["is pesudo"]=>
+ ["is pseudo"]=>
126
127
["description"]=>
128
string(0) ""
@@ -147,7 +147,7 @@ array(2) {
147
148
149
150
151
152
153
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments