This is an automated email from the ASF dual-hosted git repository.
gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git
The following commit(s) were added to refs/heads/trunk by this push:
new 89a14fe heh. wrong help. fix py-based schema loading.
89a14fe is described below
commit 89a14fe2050ae35424ec8e88aff5da037c3617f6
Author: Greg Stein <[email protected]>
AuthorDate: Sun Jun 5 18:56:36 2022 -0500
heh. wrong help. fix py-based schema loading.
---
v3/schema.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v3/schema.sql b/v3/schema.sql
index bd9a3f2..800af3a 100644
--- a/v3/schema.sql
+++ b/v3/schema.sql
@@ -24,7 +24,7 @@
### OR:
### >>> import sqlite3
### >>> conn = sqlite3.connect('testing.db')
- ### >>> conn.executescript('schema.sql')
+ ### >>> conn.executescript(open('schema.sql').read())
###
### ? maybe: conn.commit() and/or conn.close() ... the DML statements
### don't seem to require full closure of connection.