diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-02-10 19:10:59 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-02-12 23:12:30 +0100 |
commit | 34ee747f55f208097e910b6acd7edbc0e1eeb561 (patch) | |
tree | a6b89fde57bda258def416973d167999c3d19de7 /sql/sql_prepare.cc | |
parent | 103715d0faab00c20f2d7e832fdca031952f36d7 (diff) | |
download | mariadb-git-34ee747f55f208097e910b6acd7edbc0e1eeb561.tar.gz |
cleanup: remove MARK_COLUMNS_NONE
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r-- | sql/sql_prepare.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index 97325050628..83775f66a81 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -1318,7 +1318,7 @@ static bool mysql_test_insert(Prepared_statement *stmt, goto error; } if (setup_fields(thd, Ref_ptr_array(), - *values, MARK_COLUMNS_NONE, 0, NULL, 0)) + *values, COLUMNS_READ, 0, NULL, 0)) goto error; } } @@ -1424,7 +1424,7 @@ static int mysql_test_update(Prepared_statement *stmt, table_list->register_want_access(SELECT_ACL); #endif if (setup_fields(thd, Ref_ptr_array(), - stmt->lex->value_list, MARK_COLUMNS_NONE, 0, NULL, 0) || + stmt->lex->value_list, COLUMNS_READ, 0, NULL, 0) || check_unique_table(thd, table_list)) goto error; /* TODO: here we should send types of placeholders to the client. */ @@ -1597,7 +1597,7 @@ static bool mysql_test_do_fields(Prepared_statement *stmt, DT_PREPARE | DT_CREATE)) DBUG_RETURN(TRUE); DBUG_RETURN(setup_fields(thd, Ref_ptr_array(), - *values, MARK_COLUMNS_NONE, 0, NULL, 0)); + *values, COLUMNS_READ, 0, NULL, 0)); } |