We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64c135b commit ec40b84Copy full SHA for ec40b84
plugins/telegram/mysql_conn.c
@@ -528,10 +528,9 @@ token_remove_expired_func(
528
529
mi->lock(md);
530
cmd_f = open_memstream(&cmd_s, &cmd_z);
531
- fprintf(cmd_f, "DELETE FROM %stelegram_tokens WHERE expiry_time = '",
+ fprintf(cmd_f, "DELETE FROM %stelegram_tokens WHERE expiry_time = ",
532
md->table_prefix);
533
mi->write_timestamp(md, cmd_f, NULL, current_time);
534
- fprintf(cmd_f, "'");
535
fclose(cmd_f); cmd_f = NULL;
536
if (mi->simple_query(md, cmd_s, cmd_z) < 0)
537
db_error_fail(md);
0 commit comments