~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_send.h

  • Committer: Monty Taylor
  • Date: 2011-04-06 21:23:45 UTC
  • mfrom: (2268.1.4 build)
  • Revision ID: mordred@inaugust.com-20110406212345-a7w7nkcuq60ybi4z
Merge Monty: Windows Fixes
Merge Olaf: open_table refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    plugin::TransactionalStorageEngine::releaseTemporaryLatches(session);
49
49
 
50
50
    /* Unlock tables before sending packet to gain some speed */
51
 
    if (session->lock)
 
51
    if (session->open_tables.lock)
52
52
    {
53
 
      session->unlockTables(session->lock);
54
 
      session->lock= 0;
 
53
      session->unlockTables(session->open_tables.lock);
 
54
      session->open_tables.lock= 0;
55
55
    }
56
56
    session->my_eof();
57
57
    is_result_set_started= 0;