~divmod-dev/divmod.org/1304710-storeless-adapter

« back to all changes in this revision

Viewing changes to Axiom/axiom/benchmarks/testinit.py

  • Committer: glyph
  • Date: 2005-07-28 22:09:16 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:2
move this repository to a more official-looking URL

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
from testbase import con, cur
 
3
 
 
4
cur.execute("create table foo (bar int, baz varchar)")
 
5
 
 
6
for x in range(500):
 
7
    cur.execute("insert into foo values (?, ?)",
 
8
                (x, "string-value-of-"+str(x)))
 
9
 
 
10
con.commit()