Hi!

>>>>> "Oleksandr" == Oleksandr Byelkin <sa...@askmonty.org> writes:

Oleksandr> Hi!
Oleksandr> 26 янв. 2010, в 10:54, Michael Widenius написал(а):

>>>>> +struct st_mariaext_plugin
>>>>> +{
>>>>> +  const char *sversion;  /* plugin version string */
>>>> 
>>>> sversion -> version ?
>> 
Oleksandr> actually it was string version (we have already numeric  
>> one).
>> 
>> Then use 'version_info'
>> 
>> <cut>
>> 
>>>> I think that for staticly compiled plugins we should require that
>>>> they have also extension information. What do you think about this?
>> 
Oleksandr> It is for dynamically linked plugins. Of course  
>> statically linked will
Oleksandr> have everything but they will be included in built in  
>> plugins array
Oleksandr> (it is other code).
>> 
>> then ok.

Oleksandr> Actually I mistaken. Here is case of lack plugins descriptions in 
case  
Oleksandr> of describing several plugins in one file (one array). I can put  
Oleksandr> DBUG_ASSERT instead of above code (the code is working it was  
Oleksandr> checked). At least one plugin (first) should have extension 
otherwise  
Oleksandr> it will be compiler error.

Please add the DBUG_ASSERT.

Regards,
Monty

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to