Changeset 395 for branches


Ignore:
Timestamp:
02/08/14 09:58:53 (6 years ago)
Author:
jls17
Message:
Location:
branches/work_304/lists
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/work_304/lists/ARSchemaList.cpp

    r394 r395  
    2020#include "../output/WebUtil.h" 
    2121#include "BlackList.h" 
     22#include "support/SchemaDbQueryBuilder.h" 
    2223 
    2324CARSchemaList::CARSchemaList(void) 
     
    430431 
    431432        ARZeroMemory(&valueList); 
    432  
    433         if (ARGetListSQL(&arIn->arControl, (char*)"select schemaId, name, viewName, shViewName from arschema", 0, &valueList, &numMatches, &status) == AR_RETURN_OK) 
     433         
     434        const int NO_MAX_RESULT_LIMIT = 0; 
     435        SchemaDbQueryBuilder queryBuilder(NO_MAX_RESULT_LIMIT); 
     436 
     437        if (ARGetListSQL(&arIn->arControl, const_cast<char*>(queryBuilder.GetNextQuery()), 0, &valueList, &numMatches, &status) == AR_RETURN_OK) 
    434438        { 
    435439                StoreDatabaseDetails(valueList); 
  • branches/work_304/lists/support/SchemaDbQueryBuilder.h

    r393 r395  
     1//Copyright (C) 2014 John Luthgers | jls17 
     2// 
     3//This file is part of ARInside. 
     4// 
     5//    ARInside is free software: you can redistribute it and/or modify 
     6//    it under the terms of the GNU General Public License as published by 
     7//    the Free Software Foundation, version 2 of the License. 
     8// 
     9//    ARInside is distributed in the hope that it will be useful, 
     10//    but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     12//    GNU General Public License for more details. 
     13// 
     14//    You should have received a copy of the GNU General Public License 
     15//    along with ARInside.  If not, see <http://www.gnu.org/licenses/>. 
     16 
    117#pragma once 
    218 
Note: See TracChangeset for help on using the changeset viewer.