dbd/mysql/connection.c

changeset 23
a4825c3e65e9
parent 22
fd78e9cdc6e9
child 32
03ed0ca09837
equal deleted inserted replaced
22:fd78e9cdc6e9 23:a4825c3e65e9
155 } 155 }
156 156
157 quoted_len = mysql_real_escape_string(conn->mysql, to, from, len); 157 quoted_len = mysql_real_escape_string(conn->mysql, to, from, len);
158 158
159 lua_pushlstring(L, to, quoted_len); 159 lua_pushlstring(L, to, quoted_len);
160 free(to);
160 161
161 return 1; 162 return 1;
162 } 163 }
163 164
164 /* 165 /*

mercurial