Skip to content

Commit ad7b1ad

Browse files
author
Paul Sokolovsky
committed
sqlite3: Less obtrusive debug output.
1 parent bf81161 commit ad7b1ad

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

sqlite3/metadata.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
srctype = micropython-lib
22
type = module
3-
version = 0.2
3+
version = 0.2.1
44
author = Paul Sokolovsky

sqlite3/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
setup(name='micropython-sqlite3',
9-
version='0.2',
9+
version='0.2.1',
1010
description='sqlite3 module for MicroPython',
1111
long_description="This is a module reimplemented specifically for MicroPython standard library,\nwith efficient and lean design in mind. Note that this module is likely work\nin progress and likely supports just a subset of CPython's corresponding\nmodule. Please help with the development if you are interested in this\nmodule.",
1212
url='https://github.com/micropython/micropython/issues/405',

sqlite3/sqlite3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ def execute(self, sql, params=None):
8888
s = sqlite3_prepare(self.h, sql, -1, b, None)
8989
check_error(self.h, s)
9090
self.stmnt = int.from_bytes(b)
91-
print("stmnt", self.stmnt)
91+
#print("stmnt", self.stmnt)
9292
self.num_cols = sqlite3_column_count(self.stmnt)
93-
print("num_cols", self.num_cols)
93+
#print("num_cols", self.num_cols)
9494
# If it's not select, actually execute it here
9595
# num_cols == 0 for statements which don't return data (=> modify it)
9696
if not self.num_cols:

0 commit comments

Comments
 (0)