• R/O
  • SSH

execsql: コミット

Default repository for execsql.py


コミットメタ情報

リビジョン05a4dfe548b86f8fa22414e4db99ad8c71cbc2aa (tree)
日時2020-04-04 22:29:26
作者Dreas Nielsen <dreas.nielsen@gmai...>
コミッターDreas Nielsen

ログメッセージ

Added filename to error message about incomplete SQL statement.

変更サマリ

差分

diff -r 4ce7211d7651 -r 05a4dfe548b8 execsql/execsql.py
--- a/execsql/execsql.py Thu Apr 02 07:19:58 2020 -0700
+++ b/execsql/execsql.py Sat Apr 04 06:29:26 2020 -0700
@@ -27,12 +27,12 @@
2727 #
2828 # ===============================================================================
2929
30-__version__ = "1.72.2"
31-__vdate = "2020-03-31"
30+__version__ = "1.72.3"
31+__vdate = "2020-04-04"
3232
3333 primary_vno = 1
3434 secondary_vno = 72
35-tertiary_vno = 2
35+tertiary_vno = 3
3636
3737 import os
3838 import os.path
@@ -11637,7 +11637,7 @@
1163711637 currcmd = ''
1163811638 else:
1163911639 if len(currcmd) > 0:
11640- write_warning("Incomplete SQL statement starting on line %s at metacommand on line %s." % (sqlline, file_lineno))
11640+ write_warning("Incomplete SQL statement starting on line %s at metacommand on line %s of %s." % (sqlline, file_lineno, sql_file_name))
1164111641 begs = beginscript.match(line)
1164211642 if not begs:
1164311643 ends = endscript.match(line)
diff -r 4ce7211d7651 -r 05a4dfe548b8 setup.py
--- a/setup.py Thu Apr 02 07:19:58 2020 -0700
+++ b/setup.py Sat Apr 04 06:29:26 2020 -0700
@@ -4,7 +4,7 @@
44 long_description = f.read()
55
66 setuptools.setup(name='execsql',
7- version='1.72.2',
7+ version='1.72.3',
88 description="Runs a SQL script against a PostgreSQL, MS-Access, SQLite, MS-SQL-Server, MySQL, MariaDB, Firebird, or Oracle database, or an ODBC DSN. Provides metacommands to import and export data, copy data between databases, conditionally execute SQL and metacommands, and dynamically alter SQL and metacommands with substitution variables. Data can be exported in 18 different formats, including CSV, TSV, ODS, HTML, JSON, LaTeX, and Markdown tables, and using custom templates.",
99 author='Dreas Nielsen',
1010 author_email='dreas.nielsen@gmail.com',
旧リポジトリブラウザで表示