mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 23:37:00 +02:00
More MySQL debugging information.
This commit is contained in:
parent
8f0db173de
commit
ba44e9786d
@ -76,6 +76,7 @@
|
||||
(defun mysql-query (query &key row-fn (as-text t) (result-type 'list))
|
||||
"Execute given QUERY within the current *connection*, and set proper
|
||||
defaults for pgloader."
|
||||
(log-message :debug "MySQL: sending query: ~a" query)
|
||||
(qmynd:mysql-query (conn-handle *connection*) query
|
||||
:row-fn row-fn
|
||||
:as-text as-text
|
||||
|
@ -321,6 +321,10 @@
|
||||
(+ (length all-columns) (length all-fkeys)
|
||||
(length all-indexes) (length view-columns))))
|
||||
|
||||
(log-message :notice
|
||||
"MySQL metadata fetched: found ~d tables with ~d indexes total."
|
||||
(length all-columns) (length all-indexes))
|
||||
|
||||
;; now return a plist to the caller
|
||||
(list :all-columns all-columns
|
||||
:table-comments table-comments
|
||||
|
Loading…
Reference in New Issue
Block a user