• unknown's avatar
    Backporting the changeset below from 4.0, because a customer hits · 2c3f6568
    unknown authored
    the bug with 3.23.
    ChangeSet@1.1416.113.1, 2003-03-22 15:22:59+01:00, guilhem@mysql.com
      Fix for #178  Replicating INSERT VALUES(USER()) crashes (SEGV) the slave
          Now it does not SEGV, but USER() is still badly replicated
          (it is replicated to ""), which is a lower priority bug.
    
    
    sql/item_strfunc.cc:
      Don't segfault in USER() if thd->user == 0 (system thread).
    2c3f6568
item_strfunc.cc 42 KB