[SR-Dev] DB decisions

Jan Janak jan at ryngle.com
Mon Nov 24 13:32:13 CET 2008


On 24-11 10:52, Henning Westerholt wrote:
> > I think we would have to rename the DB_* macros too:
> > DB1_STR DB1_INT DB1_BLOB DB1_BIGINT DB1_DOUBLE DB1_STRING DB1_DATETIME
> > DB1_BITMAP
> 
> I agree that we need to rename the identifiers, but it is really necessary to 
> rename the macros also? Do we plan to compile a module with both DB APIs at 
> the same time?

  The identifiers above are belong to an enum. We have to rename them if we
  want to include both versions of the API from a single module--and we need
  to do that in the database drivers--otherwise we would need to maintain
  to versions of every database driver.

     Jan.



More information about the sr-dev mailing list