diff options
Diffstat (limited to 'storage/maria/ma_test1.c')
-rw-r--r-- | storage/maria/ma_test1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/maria/ma_test1.c b/storage/maria/ma_test1.c index 9d739580470..091ac7e9278 100644 --- a/storage/maria/ma_test1.c +++ b/storage/maria/ma_test1.c @@ -209,7 +209,7 @@ static int run_test(const char *filename) uniques, &uniquedef, &create_info, create_flag)) goto err; - if (!(file=maria_open(filename,2,HA_OPEN_ABORT_IF_LOCKED))) + if (!(file=maria_open(filename,2,HA_OPEN_ABORT_IF_LOCKED, 0))) goto err; if (!silent) printf("- Writing key:s\n"); @@ -348,7 +348,7 @@ static int run_test(const char *filename) goto err; if (maria_close(file)) goto err; - if (!(file=maria_open(filename,2,HA_OPEN_ABORT_IF_LOCKED))) + if (!(file=maria_open(filename,2,HA_OPEN_ABORT_IF_LOCKED, 0))) goto err; if (maria_begin(file)) goto err; @@ -870,7 +870,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), record_type= DYNAMIC_RECORD; break; case 'k': - if (key_length < 4 || key_length > HA_MAX_KEY_LENGTH) + if (key_length < 4 || key_length > MARIA_MAX_KEY_LENGTH) { fprintf(stderr,"Wrong key length\n"); exit(1); |