List:Internals« Previous MessageNext Message »
From:Michael Widenius Date:September 1 2002 12:29pm
Subject:Re: bk commit into 4.0 tree
View as plain text  

>>>>> "Sinisa" == Sinisa Milivojevic <sinisa@stripped> writes:

Sinisa> Jocelyn Fournier writes:
>> Hi,
>> Since query is defined as a const char*, is this possible to change its
>> value ??
>> Regards,
>> Jocelyn

Sinisa> It will be changed within function body only.

To be more precise.

You can at any time change a 'const char *' pointer to point at some
other memory area.

The 'const' only guards that you don't try to modify the data the
pointer points to.

In this case we are not doing that.


bk commit into 4.0 treeSinisa30 Aug
  • Re: bk commit into 4.0 treeJocelyn Fournier30 Aug
    • Re: bk commit into 4.0 treeSinisa Milivojevic30 Aug
      • Re: bk commit into 4.0 treeMichael Widenius1 Sep