<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>26842</bug_id>
          
          <creation_ts>2009-06-30 07:52:07 -0700</creation_ts>
          <short_desc>Build fix when ENABLE_DATABASE is off</short_desc>
          <delta_ts>2009-07-01 19:04:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore JavaScript</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kwang Yul Seo">skyul</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jmalonzo</cc>
    
    <cc>mikkel</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>129072</commentid>
    <comment_count>0</comment_count>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2009-06-30 07:52:07 -0700</bug_when>
    <thetext>ScriptObjectQuarantine.cpp won&apos;t compile as Database.h is missing when ENABLE_DATABASE is off. 

Move #include &quot;Database.h&quot; into ENABLE(DATABASE) guard so toggling ENALBE_DATABASE off does not break builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129073</commentid>
    <comment_count>1</comment_count>
      <attachid>32065</attachid>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2009-06-30 07:54:31 -0700</bug_when>
    <thetext>Created attachment 32065
ENABLE_DATABASE build fix

Build fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129175</commentid>
    <comment_count>2</comment_count>
      <attachid>32065</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-06-30 14:34:42 -0700</bug_when>
    <thetext>Comment on attachment 32065
ENABLE_DATABASE build fix

Looks fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129227</commentid>
    <comment_count>3</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-06-30 18:35:03 -0700</bug_when>
    <thetext>*** Bug 25113 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129229</commentid>
    <comment_count>4</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-06-30 18:55:19 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Created an attachment (id=32065) [review]
&gt; ENABLE_DATABASE build fix
&gt; 
&gt; Build fix.
&gt; 

I think this fix will break the other ports. If you look inside Database.h, the header is also used even if ENABLE_DATABASE is off (there&apos;s an else clause). 

Which port does this happen? If it&apos;s the Gtk port, you might want to move Database.h out of the ENABLE_DATABASE guard and put it in webcore_sources further up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129441</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-07-01 19:04:26 -0700</bug_when>
    <thetext>r45462</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>32065</attachid>
            <date>2009-06-30 07:54:31 -0700</date>
            <delta_ts>2009-06-30 14:34:42 -0700</delta_ts>
            <desc>ENABLE_DATABASE build fix</desc>
            <filename>database-build-fix.diff</filename>
            <type>text/plain</type>
            <size>1195</size>
            <attacher name="Kwang Yul Seo">skyul</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT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
cmlwdE9iamVjdFF1YXJhbnRpbmUuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0zMSw3ICszMSw2IEBA
CiAjaW5jbHVkZSAiY29uZmlnLmgiCiAjaW5jbHVkZSAiU2NyaXB0T2JqZWN0UXVhcmFudGluZS5o
IgogCi0jaW5jbHVkZSAiRGF0YWJhc2UuaCIKICNpbmNsdWRlICJEb2N1bWVudC5oIgogI2luY2x1
ZGUgIkZyYW1lLmgiCiAjaW5jbHVkZSAiSlNET01CaW5kaW5nLmgiCkBAIC00Myw2ICs0Miw3IEBA
CiAjaW5jbHVkZSA8cnVudGltZS9KU0xvY2suaD4KIAogI2lmIEVOQUJMRShEQVRBQkFTRSkKKyNp
bmNsdWRlICJEYXRhYmFzZS5oIgogI2luY2x1ZGUgIkpTRGF0YWJhc2UuaCIKICNlbmRpZgogCg==
</data>
<flag name="review"
          id="16588"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>