summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-07-24 09:28:15 +0000
committerfukachan <fukachan>2002-07-24 09:28:15 +0000
commita2f3f8a33972bc00521d9656e2086b8e414fd8e2 (patch)
treef2f1118d23610256949fa28d718972d92f08702f /fml
parent8e49892e39d6dc1f9b41dd9cddd9a23a628b0e06 (diff)
downloadfml8-a2f3f8a33972bc00521d9656e2086b8e414fd8e2.tar.gz
fml8-a2f3f8a33972bc00521d9656e2086b8e414fd8e2.tar.bz2
fml8-a2f3f8a33972bc00521d9656e2086b8e414fd8e2.zip
tune up sql statements
Diffstat (limited to 'fml')
-rw-r--r--fml/etc/src/config.cf.ja/mysql.cf6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/etc/src/config.cf.ja/mysql.cf b/fml/etc/src/config.cf.ja/mysql.cf
index 2619f054..a83cda46 100644
--- a/fml/etc/src/config.cf.ja/mysql.cf
+++ b/fml/etc/src/config.cf.ja/mysql.cf
@@ -24,7 +24,7 @@ sql_get_next_key = select fml_address from $sql_table
and
fml_domain = '$ml_domain'
-sql_getline = select * from $sql_table
+sql_getline = select fml_address from $sql_table
where fml_ml = '$ml_name'
and
fml_domain = '$ml_domain'
@@ -39,9 +39,9 @@ sql_delete = delete from $sql_table
and
fml_address = '&address'
-sql_find = select * from $sql_table
+sql_find = select fml_address from $sql_table
where fml_ml = '$ml_name'
and
fml_domain = '$ml_domain'
and
- fml_address like '&regexp'
+ fml_address like '%&regexp%'