diff options
| author | fukachan <fukachan> | 2002-07-22 14:26:25 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-07-22 14:26:25 +0000 |
| commit | 40825afc03637b0829464751ad7713fa247ca7c3 (patch) | |
| tree | e0492a162e40af69177a7f3d874e93931fbea341 | |
| parent | 274a61a5e17d12c3d8117b19c9053c5613d5893e (diff) | |
| download | fml8-40825afc03637b0829464751ad7713fa247ca7c3.tar.gz fml8-40825afc03637b0829464751ad7713fa247ca7c3.tar.bz2 fml8-40825afc03637b0829464751ad7713fa247ca7c3.zip | |
regen: mysql
| -rw-r--r-- | fml/etc/default_config.cf.ja.in | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/fml/etc/default_config.cf.ja.in b/fml/etc/default_config.cf.ja.in index 0203819a..4ab74386 100644 --- a/fml/etc/default_config.cf.ja.in +++ b/fml/etc/default_config.cf.ja.in @@ -1397,6 +1397,46 @@ has_select = yes # Examples: has_fork = yes +=head1 MySQL の例 + +# +# 注意: 次の ^=head で名前空間はリセットされる +# +# [Example] +# create table ml ( +# fml_ml char(64), +# fml_address char(64), +# fml_member int, +# fml_recipient int +# ); + +[mysql:fml] + +sql_server = localhost +sql_user = fml +sql_password = uja +sql_database = ml +sql_table = fml + +get_next_key = select fml_address from $sql_table + where fml_ml = '&ml_name' + +getline = select * from $sql_table + where fml_ml = '&ml_name' + +add = insert into $sql_table + values ('&ml_name', '&address', 1, 1) + +delete = delete from $sql_table + where fml_ml = '&ml_name' + and + fml_address = '&address' + +find = select * from $sql_table + where fml_ml = '&ml_name' + and + fml_address like '®exp' + =head1 フック's ### ### |
