Revision 5379
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/sql_io.py | ||
---|---|---|
683 | 683 |
+' does not exist in mapping, falling back to None', level=2.1) |
684 | 684 |
default = None |
685 | 685 |
else: |
686 |
default = sql_gen.remove_col_rename(default) |
|
686 | 687 |
if sql_gen.is_table_col(default): |
687 | 688 |
default = sql_gen.with_table(default, full_in_table) |
688 |
else: default = sql_gen.remove_col_rename(default) |
|
689 | 689 |
|
690 | 690 |
if missing_msg != None and default == None: |
691 | 691 |
warnings.warn(UserWarning(missing_msg)) |
Also available in: Unified diff
sql_io.py: put_table(): Resolving default value column: Always call sql_gen.remove_col_rename() because it will just pass the value through if it's not a column