Skip to content

Commit 5e99e47

Browse files
committed
Abort on isc_info_truncated
1 parent 18ab788 commit 5e99e47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ibase_query.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2148,7 +2148,8 @@ static int _php_ibase_get_vars_count(ibase_query *ib_query)
21482148
ctx = 0;
21492149
} break;
21502150
case isc_info_truncated: {
2151-
fbp_notice("BUG: sql_info buffer truncated, current capacity: %ld", buf_size);
2151+
fbp_fatal("BUG: sql_info buffer truncated, current capacity: %ld", buf_size);
2152+
// fbp_notice("BUG: sql_info buffer truncated, current capacity: %ld", buf_size);
21522153
// Dynamic resize
21532154
// buf_size *= 2;
21542155
// buf = erealloc(buf, buf_size);

0 commit comments

Comments
 (0)