- Joined
- Feb 28, 2013
- Messages
- 122
- Reaction score
- 49
is there any way to increase select result from database?
in dbthread.dll and server codes have limit result query is 100 rows
i tried change to 250 nothing but got popup error says "dwResultMaxSize is Invalid value: make sure MAX_ROW_NUM*sizeof(QUERYST)~256000"
it only can be changed to 200
i need result more than 1000 rows
DB.h Code :
Database.cpp ([CC]ServerModule) :
Please Close this thread
in dbthread.dll and server codes have limit result query is 100 rows
i tried change to 250 nothing but got popup error says "dwResultMaxSize is Invalid value: make sure MAX_ROW_NUM*sizeof(QUERYST)~256000"
it only can be changed to 200
i need result more than 1000 rows
DB.h Code :
Code:
#define MAX_COL_NUM 60 // Äõ¸® °á°úÀÇ ÃÖ´ë Ä®·³¼ö
#define MAX_ROW_NUM 100 // Çѹø Äõ¸®¿¡ ÃÖ´ë·Î ºÒ·¯¿À´Â ·¹ÄÚµå ¼ö
Database.cpp ([CC]ServerModule) :
Code:
desc.dwNumofMessage = m_SameTimeQueryPerThread; // 최대 쿼리 갯수 (동시 )
desc.dwNumofResult = dwNumofResult;//m_SameTimeQueryPerThread; // select한 결과의 최대 개수
desc.dwResultMaxSize = sizeof(QUERYST)*MAX_ROW_NUM; // select 문 의 최대 결과 크기
desc.dwSizeofStack = sizeof(DBFreeQuery); // 함수인자를 담는 스택의 크기
Please Close this thread
Last edited: