updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mysql-gui-tools / is-num-field-macro.patch
blob1b6d3735503863caa7d904c092af48e928470ca1
1 diff -Nur orig/administrator/library/source/myx_backup.c new/administrator/library/source/myx_backup.c
2 --- orig/administrator/library/source/myx_backup.c 2008-10-16 10:40:40.000000000 +0200
3 +++ new/administrator/library/source/myx_backup.c 2011-03-11 12:38:38.000000000 +0100
4 @@ -29,6 +29,9 @@
5 // Size of buffer for dump's select query
6 #define QUERY_LENGTH 1536
8 +// IS_NUM_FIELD macro:
9 +#define IS_NUM_FIELD(f) ((f)->flags & NUM_FLAG)
11 #include "myx_admin_library.h"
12 #include "myx_util_functions.h"
13 #include "myx_public_interface.h"
14 @@ -2573,6 +2576,7 @@
15 btnew->flags= MYX_BTF_IS_VIEW;
17 else
20 btnew->flags= MYX_BTF_IS_TABLE;