Branch: Tag:

2015-07-01

2015-07-01 22:31:57 by Martin Karlgren <marty@roxen.com>

Add ref when constant string is assigned to conn_charset.

758:       if (!PIKE_MYSQL->conn_charset) {    /* Backward compat with Mysql 4.0 and earlier. */ -  PIKE_MYSQL->conn_charset = MK_STRING("latin1"); +  add_ref (PIKE_MYSQL->conn_charset = MK_STRING("latin1"));    }       pike_mysql_reconnect (0);