| 262 | c.execute("drop table issue38") |
| 263 | |
| 264 | def disabled_test_issue_54(self): |
| 265 | conn = self.connect() |
| 266 | c = conn.cursor() |
| 267 | with warnings.catch_warnings(): |
| 268 | warnings.filterwarnings("ignore") |
| 269 | c.execute("drop table if exists issue54") |
| 270 | big_sql = "select * from issue54 where " |
| 271 | big_sql += " and ".join("%d=%d" % (i, i) for i in range(100000)) |
| 272 | |
| 273 | try: |
| 274 | c.execute("create table issue54 (id integer primary key)") |
| 275 | c.execute("insert into issue54 (id) values (7)") |
| 276 | c.execute(big_sql) |
| 277 | self.assertEqual(7, c.fetchone()[0]) |
| 278 | finally: |
| 279 | c.execute("drop table issue54") |
| 280 | |
| 281 | |
| 282 | class TestGitHubIssues(base.PyMySQLTestCase): |