Ignore:
Timestamp:
06/13/18 16:04:12 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
gcc484, master, perl-5.22
Children:
28afc38
Parents:
20eb816
Message:

fix myisam syntax for initial db creation with newer mysql versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/mailserver/dspam/initdb.sql

    r20eb816 rd36701a  
    99  innocent_hits int not null,
    1010  last_hit date not null
    11 ) type=MyISAM PACK_KEYS=1;
     11) ENGINE=MyISAM PACK_KEYS=1;
    1212
    1313create unique index id_token_data_01 on dspam_token_data(uid,token);
     
    1919  length smallint not null,
    2020  created_on date not null
    21 ) type=MyISAM max_rows=2500000 avg_row_length=8096;
     21) ENGINE=MyISAM max_rows=2500000 avg_row_length=8096;
    2222
    2323create unique index id_signature_data_01 on dspam_signature_data(uid,signature);
     
    3434  spam_classified int not null,
    3535  innocent_classified int not null
    36 ) type=MyISAM;
     36) ENGINE=MyISAM;
    3737
    3838create table dspam_preferences (
     
    4040  preference varchar(32) not null,
    4141  value varchar(64) not null
    42 ) type=MyISAM;
     42) ENGINE=MyISAM;
    4343
    4444create unique index id_preferences_01 on dspam_preferences(uid, preference);
     
    4949  uid smallint unsigned primary key AUTO_INCREMENT,
    5050  username varchar(128)
    51 ) type=MyISAM;
     51) ENGINE=MyISAM;
    5252
    5353create unique index id_virtual_uids_01 on dspam_virtual_uids(username);
Note: See TracChangeset for help on using the changeset viewer.