File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ if (!$conn) {
15
15
$ info = db2_server_info ($ conn );
16
16
if ($ info ->DBMS_NAME == "AS " ) { // IBM i
17
17
// DBMS_VER is VVRRM string
18
- $ major = $ info[ " DBMS_VER " ] [1 ];
19
- $ minor = $ info[ " DBMS_VER " ] [3 ];
20
- $ mod = $ info[ " DBMS_VER " ] [4 ];
18
+ $ major = $ info-> DBMS_VER [1 ];
19
+ $ minor = $ info-> DBMS_VER [3 ];
20
+ $ mod = $ info-> DBMS_VER [4 ];
21
21
if (!version_compare ("$ major. $ minor. $ mod " , "7.5.0 " , ">= " )) {
22
22
die ("skip IBM i version too old " );
23
23
}
24
24
} else { // Should cover i.e. DB2/LINUX
25
25
// DBMS_VER is VV.RR.MMMM, version_compore should work directly
26
- if (!version_compare ($ info[ " DBMS_VER " ] , "9.7.0 " , ">= " )) {
26
+ if (!version_compare ($ info-> DBMS_VER , "9.7.0 " , ">= " )) {
27
27
die ("skip DB2 version too old " );
28
28
}
29
29
}
You can’t perform that action at this time.
0 commit comments