If user only has a privileges to certain table, login with db still succeeds.

Removed invalid debug assertion from readwritesplit.c
This commit is contained in:
VilhoRaatikka
2014-12-17 23:51:04 +02:00
parent a655e394ac
commit 494ac968e2
2 changed files with 21 additions and 3 deletions

View File

@ -2259,8 +2259,6 @@ static bool route_single_stmt(
LOGIF(LT, (skygw_log_write(LOGFILE_TRACE,
"Found DCB for slave.")));
#endif
ss_dassert(get_bref_from_dcb(rses, target_dcb) !=
rses->rses_master_ref);
ss_dassert(get_root_master_bref(rses) ==
rses->rses_master_ref);
atomic_add(&inst->stats.n_slave, 1);