~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/oldlibdrizzle/oldlibdrizzle.cc

Added code necessary for building plugins dynamically.
Merged in changes from lifeless to allow autoreconf to work.
Touching plugin.ini files now triggers a rebuid - so config/autorun.sh is no
longer required to be run after touching those.
Removed the duplicate plugin names - also removed the issue that getting them
different would silently fail weirdly later.

Show diffs side-by-side

added added

removed removed

Lines of Context:
422
422
    /* No conversion */
423
423
    int2store(pos, field.charsetnr);
424
424
    int4store(pos+2, field.length);
425
 
    pos[6]= field.type;
 
425
    /* Add one to compensate for tinyint removal from enum. */
 
426
    pos[6]= field.type + 1;
426
427
    int2store(pos+7,field.flags);
427
428
    pos[9]= (char) field.decimals;
428
429
    pos[10]= 0;                // For the future
742
743
  NULL
743
744
};
744
745
 
745
 
drizzle_declare_plugin(oldlibdrizzle)
 
746
drizzle_declare_plugin
746
747
{
747
748
  "oldlibdrizzle",
748
749
  "0.1",