リビジョン | 05a4dfe548b86f8fa22414e4db99ad8c71cbc2aa (tree) |
---|---|
日時 | 2020-04-04 22:29:26 |
作者 | Dreas Nielsen <dreas.nielsen@gmai...> |
コミッター | Dreas Nielsen |
Added filename to error message about incomplete SQL statement.
@@ -27,12 +27,12 @@ | ||
27 | 27 | # |
28 | 28 | # =============================================================================== |
29 | 29 | |
30 | -__version__ = "1.72.2" | |
31 | -__vdate = "2020-03-31" | |
30 | +__version__ = "1.72.3" | |
31 | +__vdate = "2020-04-04" | |
32 | 32 | |
33 | 33 | primary_vno = 1 |
34 | 34 | secondary_vno = 72 |
35 | -tertiary_vno = 2 | |
35 | +tertiary_vno = 3 | |
36 | 36 | |
37 | 37 | import os |
38 | 38 | import os.path |
@@ -11637,7 +11637,7 @@ | ||
11637 | 11637 | currcmd = '' |
11638 | 11638 | else: |
11639 | 11639 | 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)) | |
11641 | 11641 | begs = beginscript.match(line) |
11642 | 11642 | if not begs: |
11643 | 11643 | ends = endscript.match(line) |
@@ -4,7 +4,7 @@ | ||
4 | 4 | long_description = f.read() |
5 | 5 | |
6 | 6 | setuptools.setup(name='execsql', |
7 | - version='1.72.2', | |
7 | + version='1.72.3', | |
8 | 8 | 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.", |
9 | 9 | author='Dreas Nielsen', |
10 | 10 | author_email='dreas.nielsen@gmail.com', |