[jdev] sm.xml configure

Norman Rasmussen norman at rasmussen.co.za
Tue Jun 26 08:15:24 CDT 2007


On 6/26/07, Tomasz Sterna <tomek at xiaoka.com> wrote:
> $ grep storage.mysql storage/storage_mysql.c
> host = config_get_one(drv->st->sm->config, "storage.mysql.host", 0);
> port = config_get_one(drv->st->sm->config, "storage.mysql.port", 0);
> dbname = config_get_one(drv->st->sm->config, "storage.mysql.dbname", 0);
> user = config_get_one(drv->st->sm->config, "storage.mysql.user", 0);
> [...]
>
> These are hardcoded to "storage.mysql.*" and would require code changes.

sure: that's why I added: and change storage.mysql to storage.mysql1.

So in fact with 2.1.x Zhangmingjie would just need to make a copy of
storage_mysql.c (add it to the Makefile) and edit the config strings?

-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list