diff --git a/test/tap/tests/reg_test_4402-mysql_fields-t.cpp b/test/tap/tests/reg_test_4402-mysql_fields-t.cpp index bc9c098082..7ab0a0bbdb 100644 --- a/test/tap/tests/reg_test_4402-mysql_fields-t.cpp +++ b/test/tap/tests/reg_test_4402-mysql_fields-t.cpp @@ -65,10 +65,10 @@ int main(int argc, char** argv) { MYSQL_QUERY__(proxysql, "CREATE DATABASE testdb"); diag("Creating echo_int function..."); - MYSQL_QUERY__(proxysql, "CREATE FUNCTION IF NOT EXISTS testdb.echo_int(N INT) RETURNS INT DETERMINISTIC RETURN N;"); + MYSQL_QUERY__(proxysql, "CREATE FUNCTION testdb.echo_int(N INT) RETURNS INT DETERMINISTIC RETURN N;"); diag("Creating dummy_table..."); - MYSQL_QUERY__(proxysql, "CREATE TABLE IF NOT EXISTS testdb.dummy_table(data VARCHAR(10))"); + MYSQL_QUERY__(proxysql, "CREATE TABLE testdb.dummy_table(data VARCHAR(10))"); // wait for replication std::this_thread::sleep_for(std::chrono::seconds(2));