[Kst] branches/work/kst/1.5/kst/src/datasources/scuba2

Andrew Walker arwalker at sumusltd.com
Fri Sep 7 02:32:44 CEST 2007


SVN commit 709268 by arwalker:

now that DAS_VERSION is no longer in the header perform a stricter check

 M  +2 -2      scuba.cpp  


--- branches/work/kst/1.5/kst/src/datasources/scuba2/scuba.cpp #709267:709268
@@ -423,7 +423,7 @@
               _numRows = -1;
             }
             foundNumRows = true;
-          } else if (!foundVersion && s.contains("DAS_VERSION") == 1) {
+          } else if (!foundVersion && s.contains("<DAS_VERSION>") == 1) {
             _version = readVersionNumber(s);
             foundVersion = true;
           } else if (s.contains("<RC>") == 1) {
@@ -1672,7 +1672,7 @@
                 num_rows = -1;
               }
               foundNumRows = true;
-            } else if (!foundVersion && s.contains("DAS_VERSION") == 1) {
+            } else if (!foundVersion && s.contains("<DAS_VERSION>") == 1) {
               version = readVersionNumber(s);
               foundVersion = true;
             } else if (s.contains("<RC>") == 1) {


More information about the Kst mailing list