mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-05 14:34:13 +00:00
Put LIMIT number into a common header.
This commit is contained in:
parent
dfe3655296
commit
0cb91fb9ca
3 changed files with 29 additions and 2 deletions
25
src/backends/postgresql/query_count_limit.hpp
Normal file
25
src/backends/postgresql/query_count_limit.hpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
/* Copyright 2015, 2016, Michele Santullo
|
||||
* This file is part of "dindexer".
|
||||
*
|
||||
* "dindexer" is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* "dindexer" is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with "dindexer". If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef id367C9335A3444BC0846EF4E2A27AB9A9
|
||||
#define id367C9335A3444BC0846EF4E2A27AB9A9
|
||||
|
||||
namespace dindb {
|
||||
constexpr const uint32_t g_query_count_limit = 500;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue