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

Clean up merge of fix for Bug #9468.

This commit is contained in:
jimw@mysql.com
2005-04-01 19:00:14 -08:00
parent 16efc3e333
commit 623a5d5a57
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,6 @@
# Don't test with embedded server
-- source include/not_embedded.inc
# Test of grants when lower_case_table_names is on # Test of grants when lower_case_table_names is on
use mysql; use mysql;

View File

@ -1,3 +1,6 @@
# Can't be tested with embedded server
-- source include/not_embedded.inc
# Bug #8471: IP address with mask fail when skip-name-resolve is on # Bug #8471: IP address with mask fail when skip-name-resolve is on
GRANT ALL ON test.* TO mysqltest_1@'127.0.0.1/255.255.255.255'; GRANT ALL ON test.* TO mysqltest_1@'127.0.0.1/255.255.255.255';
SHOW GRANTS FOR mysqltest_1@'127.0.0.1/255.255.255.255'; SHOW GRANTS FOR mysqltest_1@'127.0.0.1/255.255.255.255';

View File

@ -1546,6 +1546,9 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
} }
else else
thd->query_rest.copy(packet, length, thd->query_rest.charset()); thd->query_rest.copy(packet, length, thd->query_rest.charset());
thd->server_status&= ~ (SERVER_QUERY_NO_INDEX_USED |
SERVER_QUERY_NO_GOOD_INDEX_USED);
break; break;
#endif /*EMBEDDED_LIBRARY*/ #endif /*EMBEDDED_LIBRARY*/
} }