Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into  april.(none):/home/svoj/devel/mysql/BUG17116/mysql-5.1-new
This commit is contained in:
unknown 2006-02-21 16:20:02 +04:00
commit 010f9be50c

View file

@ -86,7 +86,7 @@ int main(int argc,char *argv[])
init_key_cache(dflt_key_cache,MI_KEY_BLOCK_LENGTH,USE_BUFFER_INIT, 0, 0);
if (!(info=mi_open(argv[0],2,HA_OPEN_ABORT_IF_LOCKED)))
if (!(info=mi_open(argv[0],2,HA_OPEN_ABORT_IF_LOCKED|HA_OPEN_FROM_SQL_LAYER)))
{
error=my_errno;
goto err;