1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

test oversized password

fix to make table.cc compile
This commit is contained in:
sasha@mysql.sashanet.com
2001-01-30 20:40:23 -07:00
parent acd45847ac
commit 9cbf5b695f
4 changed files with 6 additions and 3 deletions

View File

@ -392,6 +392,7 @@ start_slave()
master_info="--master-user=root \
--master-connect-retry=1 \
--master-host=127.0.0.1 \
--master-password= \
--master-port=$MASTER_MYPORT \
--server-id=2"
else

View File

@ -2,8 +2,8 @@ cat > $MYSQL_TEST_DIR/var/slave-data/master.info <<EOF
master-bin.001
4
127.0.0.1
root
replicate
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
9306
1
EOF

View File

@ -2,6 +2,8 @@ connect (master,localhost,root,,test,0,mysql-master.sock);
connect (slave,localhost,root,,test,0,mysql-slave.sock);
connection master;
reset master;
grant file on *.* to replicate@localhost identified by
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
connection slave;
slave start;
connection master;

View File

@ -1033,7 +1033,7 @@ char *get_field(MEM_ROOT *mem, TABLE *table, uint fieldnr)
bool check_db_name(const char *name)
{
const char *start=end;
const char *start=name;
while (*name)
{
#if defined(USE_MB) && defined(USE_MB_IDENT)