1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Added missing root user to mysql.user on windows. (Bug #4242)

Set default max_allowed_packet to be able to read help tables even if an my.cnf file with this option is present. (Bug #3938)
Don't use default arguments for ha_rnd_init()
Simple code cleanups since last pull
This commit is contained in:
monty@mysql.com
2004-06-25 18:49:36 +03:00
parent 00dc9a0e91
commit f6765146c1
19 changed files with 52 additions and 49 deletions

View File

@@ -271,8 +271,8 @@ public:
uint block_size; /* index block size */
uint raid_type,raid_chunks;
FT_INFO *ft_handler;
bool auto_increment_column_changed;
enum {NONE=0, INDEX, RND} inited;
bool auto_increment_column_changed;
bool implicit_emptied; /* Can be !=0 only if HEAP */
@@ -316,7 +316,7 @@ public:
inited=NONE;
return index_end();
}
int ha_rnd_init(bool scan=1)
int ha_rnd_init(bool scan)
{
DBUG_ASSERT(inited==NONE || (inited==RND && scan));
inited=RND;