We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9788cc6 commit 48d8ed0Copy full SHA for 48d8ed0
src/sources/mysql/mysql.lisp
@@ -32,7 +32,7 @@
32
(let* ((col (mysql-column-name
33
(nth (position coldef (table-column-list (target mysql)))
34
(fields mysql))))
35
- (sql (format nil "select min(`~a`), max(`~a`) from `~a`"
+ (sql (format nil "select min(`~a`), max(`~a`) + 1 from `~a`"
36
col col (table-source-name (source mysql)))))
37
(destructuring-bind (min max)
38
(let ((result (first (mysql-query sql))))
0 commit comments