fix: remove redundant debug

closes https://github.com/loopbackio/loopback-connector-mysql/issues/352

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
This commit is contained in:
Rifa Achrinza 2022-08-07 21:38:11 +08:00
parent f8f40a1199
commit 21e3bba4c4
1 changed files with 0 additions and 2 deletions

View File

@ -561,8 +561,6 @@ MySQL.prototype.buildExpression = function(columnName, operator, operatorValue,
clause = columnName + ' REGEXP BINARY ?'; clause = columnName + ' REGEXP BINARY ?';
} }
if (operatorValue.ignoreCase)
g.warn('{{MySQL}} {{regex}} syntax does not respect the {{`i`}} flag');
if (operatorValue.global) if (operatorValue.global)
g.warn('{{MySQL}} {{regex}} syntax does not respect the {{`g`}} flag'); g.warn('{{MySQL}} {{regex}} syntax does not respect the {{`g`}} flag');