projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a904006
)
mysql/core_translate_lookup.sql
author
Alan Knowles
<alan@roojs.com>
Wed, 9 Dec 2020 07:09:13 +0000
(15:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 Dec 2020 07:09:13 +0000
(15:09 +0800)
mysql/core_translate_lookup.sql
patch
|
blob
|
history
diff --git
a/mysql/core_translate_lookup.sql
b/mysql/core_translate_lookup.sql
index
d5efd4b
..
30e130a
100644
(file)
--- a/
mysql/core_translate_lookup.sql
+++ b/
mysql/core_translate_lookup.sql
@@
-30,6
+30,8
@@
RETURNS TEXT NOT DETERMINISTIC READS SQL DATA
on_col = in_col
AND
lang = in_lang
+ AND
+ active = 1
LIMIT 1;
IF v_id < 1 OR LENGTH(txt) < 1 THEN