My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 121 attachment: test_large_update_nodata.patch (575 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/tests/sqlservertests.py b/tests/sqlservertests.py
index ddc1707..9ab58ed 100755
--- a/tests/sqlservertests.py
+++ b/tests/sqlservertests.py
@@ -299,6 +299,11 @@ class SqlServerTestCase(unittest.TestCase):
for value in ANSI_FENCEPOSTS:
locals()['test_binary_%s' % len(value)] = _maketest(value)

+ def test_large_update_nodata(self):
+ self.cursor.execute('create table t1(a varbinary(max))')
+ hundredkb = buffer('x'*100*1024)
+ self.cursor.execute('update t1 set a=? where 1=0', (hundredkb,))
+
#
# image
#
Powered by Google Project Hosting