relational-query-HDBC: drop redundant no-primary-key message.

This commit is contained in:
Kei Hibino 2018-06-11 12:49:46 +09:00
parent 95e9c3188d
commit 967de7cab0

View File

@ -72,8 +72,7 @@ getPrimaryKey' conn lchan scm' tbl' = do
tbl = map toLower tbl'
mayKeyLen <- runQuery' conn primaryKeyLengthQuerySQL (scm, tbl)
case mayKeyLen of
[] -> do
putLog lchan "getPrimaryKey: Primary key not found."
[] ->
return []
[keyLen] -> do
primCols <- runQuery' conn (primaryKeyQuerySQL keyLen) (scm, tbl)