[Xapian-tickets] [Xapian] #331: Query serialisation uses om_tostring() in places where encode_length() might be more appropriate

Xapian nobody at xapian.org
Mon Mar 2 17:19:50 GMT 2009


#331: Query serialisation uses om_tostring() in places where encode_length()
might be more appropriate
----------------------------+-----------------------------------------------
 Reporter:  richard         |        Owner:  richard  
     Type:  enhancement     |       Status:  closed   
 Priority:  normal          |    Milestone:  1.1.0    
Component:  Backend-Remote  |      Version:  SVN trunk
 Severity:  normal          |   Resolution:  fixed    
 Keywords:                  |    Blockedby:           
 Platform:  All             |     Blocking:           
----------------------------+-----------------------------------------------
Changes (by richard):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 It turns out that the floating values are already serialised with
 serialise_double() and stored in str_parameter.  I've changed the integer
 representations all to use encode_length() and decode_length(), though.
 Doesn't require a network protocol bump, because we're already bumping it
 for 1.1.0.

 Fixed in r12010

-- 
Ticket URL: <http://trac.xapian.org/ticket/331#comment:4>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list