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.
Loading
Please register or sign in to comment