Project

General

Profile

« Previous | Next » 

Revision 3008

sql.py: run_query_into(): Always set into.schema to None, so that table is created in the temp schema in debug_temp mode

View differences:

sql.py
500 500
    assert isinstance(into, sql_gen.Table)
501 501
    
502 502
    into.is_temp = True
503
    # "temporary tables cannot specify a schema name", so remove schema
504
    into.schema = None
503 505
    
504 506
    kw_args['recover'] = True
505 507
    kw_args.setdefault('log_ignore_excs', (DuplicateException,))
506 508
    
507 509
    temp = not db.debug_temp # tables are permanent in debug_temp mode
508
    # "temporary tables cannot specify a schema name", so remove schema
509
    if temp: into.schema = None
510 510
    
511 511
    # Create table
512 512
    while True:

Also available in: Unified diff