<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>But, as I understand, the point of this commit is that cursor key
is duty of caller of <br>
</p>
<p>the cursor_seek function. So, let the caller do all cursor
business than.<br>
</p>
<br>
<div class="moz-cite-prefix">On 12.02.2018 20:00, n.pettik wrote:<br>
</div>
<blockquote type="cite"
cite="mid:E18218D2-8C5E-4B52-BA29-123B7AAB7B1D@tarantool.org">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Not quite. They are still required when cursor_seek() routine is
called via first()/last() functions.
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 12 Feb 2018, at 19:20, Alex Khatskevich
<<a href="mailto:avkhatskevich@tarantool.org" class=""
moz-do-not-send="true">avkhatskevich@tarantool.org</a>>
wrote:</div>
<div class=""><span style="font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float: none; display:
inline !important;" class="">After your change, there is
no need in key and key_end attributes any more.</span><br
style="font-family: Helvetica; font-size: 12px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float: none; display:
inline !important;" class="">They are only confuse it's
user.</span><br style="font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float: none; display:
inline !important;" class="">Am I right?</span><br
style="font-family: Helvetica; font-size: 12px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px;" class="">-<span class="Apple-tab-span" style="white-space: pre;"> </span>/*
Copy key if necessary. */<br class="">
-<span class="Apple-tab-span" style="white-space: pre;"> </span>if
(key_size != 0) {<br class="">
-<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>memcpy(c->key,
key, key_end - key);<br class="">
-<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>key_end
= c->key + (key_end - key);<br class="">
-<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span>key
= c->key;<br class="">
-<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br
class="">
-<br class="">
<span class="Apple-tab-span" style="white-space: pre;"> </span>struct
space *space;<br class="">
<span class="Apple-tab-span" style="white-space: pre;"> </span>struct
index *index;<br class="">
<span class="Apple-tab-span" style="white-space: pre;"> </span>uint32_t
space_id = SQLITE_PAGENO_TO_SPACEID(pCur->pgnoRoot);</blockquote>
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<br>
</body>
</html>