[Bug 66334] New: case sensitive dbType for DB Driver.

[email protected]
Newsgroups gmane.comp.apache.documentation
Message-ID <[email protected]/bugzilla/>
https://bz.apache.org/bugzilla/show_bug.cgi?id=66334

            Bug ID: 66334
           Summary: case sensitive dbType for DB Driver.
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

URL : 
https://httpd.apache.org/docs/2.4/mod/mod_dbd.html

When connect to odbc database, dbType is case sensitive.

Setup ODBC System DSN
(apache x86 in Windows X64 ) : 
C:\Windows\SysWOW64>odbcad32.exe

(apache x64 in Windows X64) : 
C:\Windows\system32>odbcad32.exe

Test using mod_dbd and mod_lua.

odbc.lua

function handle(r)

    local database, err = r:dbacquire("ODBC", "datasource=MYSQL2")
    r:puts( 'database ' .. tostring(database) .. ' err : ' .. tostring(err)
..'<br />\n' )
    local database, err = r:dbacquire("odbc", "datasource=MYSQL2")
    r:puts( 'database ' .. tostring(database) .. ' err : ' .. tostring(err)
..'<br />\n' )

    r.status = 200
    return apache2.OK
end

output : 
database nil err : driver for ODBC is invalid or corrupted
database table: 060DD1C8 err : nil

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.