pike.git/
lib/
modules/
Sql.pmod/
mysql.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2022-01-27
2022-01-27 09:13:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>
09b80d8a94aa1a1f6f42a988a2035607017c9c92 (
12
lines) (+
10
/-
2
)
[
Show
|
Annotate
]
Branch:
master
Sql.mysql: Fix obscure special case in list_fields().
828:
return fix_result_charset(::list_fields(@a)); }
-
// Very uncommon
case
, but...
-
//
+
// Very uncommon
cases
, but...
+
+
if (sizeof(a) == 1) {
+
//
The split marker has been recoded.
+
// Assume that fix_query_charset() is stable.
+
return fix_result_charset(::list_fields(fix_query_charset(table)[0],
+
fix_query_charset(wild)[0]));
+
}
+
// Assume that the table name can not contain NUL characters. return fix_result_charset(::list_fields(a[0], a[1..] * "\0\0PIKE\0\0")); }