Skip to content
Snippets Groups Projects
Commit e6adec5e authored by Nikita Pettik's avatar Nikita Pettik Committed by Kirill Yukhin
Browse files

sql: don't compute string for VIEW twice

String containing 'CREATE VIEW' statement is calculated in
sql_create_view() function and saved to space_def.opts.sql.
After that, right before code generation, we compute it again and
pass to sql_encode_table_opts() as a separate parameters.
Lets avoid that second and redundant calculation and use one
from space opts everywhere.
parent 0230fa17
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment