httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevac Marko <ma...@kevac.org>
Subject [PATCH] mod_dbd with more than one pool
Date Fri, 30 Jan 2009 20:04:28 GMT
Hello.

Once again I want to propose patch for mod_dbd module. This patch make
possible to use more than one database pool.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45456

Also, new configuration option was added DBDInitSQL, which enables
user to execute some SQL command after connecting to DB server.
It can be codepage choosing command or anything else.

Configuration example:

    <DBDPool "dbdtest">
        DBDriver mysql
        DBDParams "host=172.20.30.65, port=..."
        DBDPersist On
    </DBDPool>

    <DBDPool "dbdtest2">
        DBDriver mysql
        DBDParams "host=172.20.30.65, port=..."
        DBDPersist On
    </DBDPool>

    <DBDPool "dbdtest3">
        DBDriver mysql
        DBDParams "host=172.20.30.65, port=..."
        DBDPersist On
    </DBDPool>

dbdtest, dbdtest2 and dbdtes3 are pool names.

API is only slightly changed (new argument 'pool name' added).

I am looking forward to comments and instructions how to add this to
mainline http-2.2.x.

Thanks in advance.

-- 
Marko Kevac

Mime
View raw message