Skip to content

Commit 77c0e41

Browse files
committed
Set METADATALENGTH according to FB_API_VER
1 parent 5dd3cb3 commit 77c0e41

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

php_ibase_includes.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@
3333
#endif
3434

3535
#ifndef METADATALENGTH
36-
#define METADATALENGTH 63*4
36+
#if FB_API_VER >= 40
37+
# define METADATALENGTH 63*4
38+
#else
39+
# define METADATALENGTH 31
40+
#endif
3741
#endif
3842

3943
#define RESET_ERRMSG do { IBG(errmsg)[0] = '\0'; IBG(sql_code) = 0; } while (0)

0 commit comments

Comments
 (0)