diff --git a/doc/book/connectors/c.rst b/doc/book/connectors/c.rst index 6f3343083d..755d5b8483 100644 --- a/doc/book/connectors/c.rst +++ b/doc/book/connectors/c.rst @@ -246,7 +246,7 @@ To display the results, the program uses functions in the } struct tnt_stream *tuple = tnt_object(NULL); tnt_object_format(tuple, "[%d]", 99999); /* tuple = search key */ - tnt_select(tnt, 999, 0, (2^32) - 1, 0, 0, tuple); + tnt_select(tnt, 999, 0, UINT32_MAX, 0, 0, tuple); tnt_flush(tnt); struct tnt_reply reply; tnt_reply_init(&reply); tnt->read_reply(tnt, &reply); diff --git a/locale/ru/LC_MESSAGES/book/connectors.po b/locale/ru/LC_MESSAGES/book/connectors.po index 6a2e4f6cf0..7f8d1cb156 100644 --- a/locale/ru/LC_MESSAGES/book/connectors.po +++ b/locale/ru/LC_MESSAGES/book/connectors.po @@ -1982,7 +1982,7 @@ msgid "" " }\n" " struct tnt_stream *tuple = tnt_object(NULL);\n" " tnt_object_format(tuple, \"[%d]\", 99999); /* tuple = search key */\n" -" tnt_select(tnt, 999, 0, (2^32) - 1, 0, 0, tuple);\n" +" tnt_select(tnt, 999, 0, UINT32_MAX, 0, 0, tuple);\n" " tnt_flush(tnt);\n" " struct tnt_reply reply; tnt_reply_init(&reply);\n" " tnt->read_reply(tnt, &reply);\n" @@ -2047,7 +2047,7 @@ msgstr "" " }\n" " struct tnt_stream *tuple = tnt_object(NULL);\n" " tnt_object_format(tuple, \"[%d]\", 99999); /* кортеж tuple = ключ для поиска */\n" -" tnt_select(tnt, 999, 0, (2^32) - 1, 0, 0, tuple);\n" +" tnt_select(tnt, 999, 0, UINT32_MAX, 0, 0, tuple);\n" " tnt_flush(tnt);\n" " struct tnt_reply reply; tnt_reply_init(&reply);\n" " tnt->read_reply(tnt, &reply);\n" diff --git a/locale/ru/LC_MESSAGES/book/connectors/c.po b/locale/ru/LC_MESSAGES/book/connectors/c.po index d6b3189438..d0eb8f4800 100644 --- a/locale/ru/LC_MESSAGES/book/connectors/c.po +++ b/locale/ru/LC_MESSAGES/book/connectors/c.po @@ -374,7 +374,7 @@ msgid "" " }\n" " struct tnt_stream *tuple = tnt_object(NULL);\n" " tnt_object_format(tuple, \"[%d]\", 99999); /* tuple = search key */\n" -" tnt_select(tnt, 999, 0, (2^32) - 1, 0, 0, tuple);\n" +" tnt_select(tnt, 999, 0, UINT32_MAX, 0, 0, tuple);\n" " tnt_flush(tnt);\n" " struct tnt_reply reply; tnt_reply_init(&reply);\n" " tnt->read_reply(tnt, &reply);\n" @@ -439,7 +439,7 @@ msgstr "" " }\n" " struct tnt_stream *tuple = tnt_object(NULL);\n" " tnt_object_format(tuple, \"[%d]\", 99999); /* кортеж tuple = ключ для поиска */\n" -" tnt_select(tnt, 999, 0, (2^32) - 1, 0, 0, tuple);\n" +" tnt_select(tnt, 999, 0, UINT32_MAX, 0, 0, tuple);\n" " tnt_flush(tnt);\n" " struct tnt_reply reply; tnt_reply_init(&reply);\n" " tnt->read_reply(tnt, &reply);\n"