~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/srv/srv0srv.c

  • Committer: Monty Taylor
  • Date: 2008-10-20 08:48:34 UTC
  • mfrom: (520.1.22 drizzle)
  • Revision ID: monty@inaugust.com-20081020084834-xpb3w01vkcp55o02
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
988
988
        srv_conc_slot_t*        slot      = NULL;
989
989
        ulint                   i;
990
990
 
991
 
        if (trx->mysql_thd != NULL
992
 
            && thd_is_replication_slave_thread(trx->mysql_thd)) {
 
991
        if (trx->mysql_session != NULL
 
992
            && session_is_replication_slave_thread(trx->mysql_session)) {
993
993
 
994
994
                /* TODO Do something more interesting (based on a config
995
995
                parameter). Some users what to give the replication
1174
1174
                return;
1175
1175
        }
1176
1176
 
1177
 
        if (trx->mysql_thd != NULL
1178
 
            && thd_is_replication_slave_thread(trx->mysql_thd)) {
 
1177
        if (trx->mysql_session != NULL
 
1178
            && session_is_replication_slave_thread(trx->mysql_session)) {
1179
1179
 
1180
1180
                return;
1181
1181
        }