SQLite

View Ticket
Login
Ticket Hash: dc3a6e5b31378eea92795c64ed25385eb07d61ed
Title: Shell doesn't htmlify column headers
Status: Fixed Type: Code_Defect
Severity: Minor Priority: Low
Subsystem: Shell Resolution: Fixed
Last Modified: 2009-10-21 14:09:03
Version Found In: 3.6.18
Description:
<pre>
sqlite> .mode html
sqlite> .header ON
sqlite> select 'P&L';
&lt;TR&gt;&lt;TH&gt;'P&amp;L'&lt;/TH&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;P&amp;amp;L&lt;/TD&gt;
&lt;/TR&gt;
</pre>

The fix is that <tt>output_html_string</tt> should be called when outputting the header row just like it is for the rows.

<hr><i>shane added on 2009-10-21 14:09:03:</i><br>
Check-in [c8815fcd88].