| 248 | c.execute("set @foo = 'bar'") |
| 249 | |
| 250 | def test_issue_38(self): |
| 251 | conn = self.connect() |
| 252 | c = conn.cursor() |
| 253 | datum = "a" * 1024 * 1023 # reduced size for most default mysql installs |
| 254 | |
| 255 | try: |
| 256 | with warnings.catch_warnings(): |
| 257 | warnings.filterwarnings("ignore") |
| 258 | c.execute("drop table if exists issue38") |
| 259 | c.execute("create table issue38 (id integer, data mediumblob)") |
| 260 | c.execute("insert into issue38 values (1, %s)", (datum,)) |
| 261 | finally: |
| 262 | c.execute("drop table issue38") |
| 263 | |
| 264 | def disabled_test_issue_54(self): |
| 265 | conn = self.connect() |