[pLog-svn] r4676 - plog/branches/lifetype-1.2/class/database/pdb/drivers

Oscar Renalias oscar at renalias.net
Fri Feb 2 18:30:20 EST 2007


Right now the only way to turn it off is by "blacklisting" your  
database character encoding in PDbMySQLDriver. And since this is  
living at the database driver level and that has nothing to do with  
the UI, I'm not sure that binding the database driver class to the  
Config class is a good idea.

How about an extra optional parameter in the config.properties.php  
file? Would that be good enough?

On 3 Feb 2007, at 01:26, Jon Daley wrote:

>  	Can we have a configuration option to turn this on and off as
> well?
>
> On Fri, 2 Feb 2007, oscar at devel.lifetype.net wrote:
>> Author: oscar
>> Date: 2007-02-02 17:54:59 -0500 (Fri, 02 Feb 2007)
>> New Revision: 4676
>>
>> Modified:
>>   plog/branches/lifetype-1.2/class/database/pdb/drivers/ 
>> pdbdriverbase.class.php
>>   plog/branches/lifetype-1.2/class/database/pdb/drivers/ 
>> pdbmysqldriver.class.php
>> Log:
>> Added driver-specific support for FULLTEXT indexes, so now the  
>> driver can tell the user classes whether fulltext queries are  
>> supported or not. Fulltext is disabled by default in the base  
>> driver class but the MySQL driver will first check the database  
>> character encoding to determine whether FULLTEXT is supported or  
>> not. The method PDbMySQLDriver::isFullTextSupported() holds an  
>> array with "blacklisted" character sets that don't support  
>> FULLTEXT but it currently is set to empty (meaning that FULLTEXT  
>> is supported accross all mysql character sets so I'm hoping that  
>> Mark or somebody more familiar with this will help me fill in the  
>> array.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list