~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/user_locks/signal.cc

  • Committer: Brian Aker
  • Date: 2010-11-27 09:26:54 UTC
  • mto: This revision was merged to the branch mainline in revision 1956.
  • Revision ID: brian@tangent.org-20101127092654-e3m8yuxal0k346u0
Update such that we can now do a lock test with a wait.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
      return 1;
44
44
    }
45
45
  }
 
46
  else if (not res || not res->length())
 
47
  {
 
48
    my_error(drizzled::ER_USER_LOCKS_INVALID_NAME_BARRIER, MYF(0));
 
49
    return 0;
 
50
  }
46
51
 
47
52
  my_error(drizzled::ER_USER_LOCKS_UNKNOWN_BARRIER, MYF(0));
48
53
  null_value= true;