Skip to content

Instantly share code, notes, and snippets.

@zzzeek
Created January 9, 2013 16:28
Show Gist options
  • Select an option

  • Save zzzeek/4494545 to your computer and use it in GitHub Desktop.

Select an option

Save zzzeek/4494545 to your computer and use it in GitHub Desktop.
diff -r 9acf39d6f6e7 lib/sqlalchemy/sql/compiler.py
--- a/lib/sqlalchemy/sql/compiler.py Tue Jan 08 11:05:13 2013 -0500
+++ b/lib/sqlalchemy/sql/compiler.py Wed Jan 09 11:27:50 2013 -0500
@@ -1438,6 +1438,11 @@
text += ' SET '
include_table = extra_froms and \
self.render_table_with_column_in_update_from
+ import pdb
+ pdb.set_trace()
+ # now print "extra_froms" - should be empty,
+ # as well as "include_table", should be False
+
text += ', '.join(
c[0]._compiler_dispatch(self,
include_table=include_table) +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment