mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2025-01-08 14:26:33 +03:00
relational-query-HDBC: drop redundant no-primary-key message.
This commit is contained in:
parent
95e9c3188d
commit
967de7cab0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user