• bar@mysql.com's avatar
    Critical fixes after review: · f814d224
    bar@mysql.com authored
    - mutex was unlocked before the end of the critical sesion,
    - Portability issue: It's better to use (*alloc)(x) instead of alloc(x),
      if alloc is a function passed as an argument.
    - Use {} around if() block, to avoid possible problems with some Windows compilers.
    f814d224
sql_string.cc 18.7 KB